Learn R Programming

sdcMicro (version 5.7.8)

plot.localSuppression: Plots for localSuppression objects

Description

This function creates barplots to display the number of suppressed values in categorical key variables to achieve k-anonymity.

Usage

# S3 method for localSuppression
plot(x, ...)

Value

a ggplot plot object

Arguments

x

object of derived from localSuppression()

...

Additional arguments, currently available are:

  • "showDetails": logical, if set, a plot of suppressions by strata is shown (if possible)

Author

Bernhard Meindl, Matthias Templ

See Also

localSuppression()

Examples

Run this code
data(francdat)

Run the code above in your browser using DataLab