plot.localSuppression: Plots for localSuppression objects

View source: R/localSuppression.R

plot.localSuppressionR Documentation

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 class 'localSuppression'
plot(x, ...)

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)

Value

a ggplot plot object

Author(s)

Bernhard Meindl, Matthias Templ

See Also

localSuppression()

Examples

data(francdat)

sdcTools/sdcMicro documentation built on March 15, 2024, 12:32 p.m.