Descriptive plot function for sdcMicroObj-objects. Currently only visualization of local supression is implemented.
# S3 method for class 'sdcMicroObj'
plot(x, type = "ls", ...)
An object of class sdcMicroObj
specified what kind of plot will be generated
"ls"
: plot of local suppressions in key variables
currently ignored
a ggplot
plot object or (invisible) NULL
if local suppression
using kAnon()
has not been applied
# \donttest{
data(testdata)
sdc <- createSdcObj(testdata,
keyVars = c("urbrur", "roof", "walls", "relat", "sex"),
w = "sampling_weight")
sdc <- kAnon(sdc, k = 3)
plot(sdc, type = "ls")
# }