R: Plotfunctions for objects of class 'sdcMicroObj-class'

plot.sdcMicroObj {sdcMicro} | R Documentation

## Plotfunctions for objects of class `sdcMicroObj-class`

### Description

Descriptive plot function for `sdcMicroObj-class`-objects. Currently only visualization of local supression is implemented.

### Usage

    ## S3 method for class 'sdcMicroObj'
    plot(x, type = "ls", ...)

### Arguments

`x` | An object of class `sdcMicroObj-class`
`type` | specified what kind of plot will be generated 'ls': plot of local suppressions in key variables
`...` | currently ignored

### Author(s)

Bernhard Meindl

### Examples

    data(testdata)
    ## Not run:
    # dontrun because Examples with CPU time > 2.5 times elapsed time
    sdc <- createSdcObj(testdata,
      keyVars=c('urbrur','roof','walls','relat','sex'),
      pramVars=c('water','electcon'),
      numVars=c('expend','income','savings'), w='sampling_weight')
    sdc <- kAnon(sdc, k=5)
    plot(sdc, type="ls")

    ## End(Not run)

[Package sdcMicro version 5.6.1 Index]