plotMicro | R Documentation |
Plots for the comparison of the original data and perturbed data.
plotMicro(x, p, which.plot = 1:3)
x |
an output object of |
p |
necessary parameter for the box cox transformation ( |
which.plot |
which plot should be created?
|
Univariate and multivariate comparison plots are implemented to detect differences between the perturbed and the original data, but also to compare perturbed data which are produced by different methods.
returns NULL
; the selected plot is displayed
Matthias Templ
Templ, M. and Meindl, B., Software Development for SDC in R, Lecture Notes in Computer Science, Privacy in Statistical Databases, vol. 4302, pp. 347-359, 2006.
microaggregation()
data(free1)
df <- as.data.frame(free1)[, 31:34]
m1 <- microaggregation(df, method = "onedims", aggr = 3)
plotMicro(m1, p = 1, which.plot = 1)
plotMicro(m1, p = 1, which.plot = 2)
plotMicro(m1, p = 1, which.plot = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.