Learn R Programming

sdcMicro (version 5.7.8)

summary.freqCalc: Summary method for objects from class freqCalc

Description

Summary method for objects of class ‘freqCalc’ to provide information about local suppressions.

Usage

# S3 method for freqCalc
summary(object, ...)

Value

Information about local suppression in each variable (only if a local suppression is already done).

Arguments

object

object from class freqCalc

...

Additional arguments passed through.

Author

Matthias Templ

Details

Shows the amount of local suppressions on each variable in which local suppression was applied.

See Also

freqCalc

Examples

Run this code

## example from Capobianchi, Polettini and Lucarelli:
data(francdat)
f <- freqCalc(francdat, keyVars=c(2,4,5,6),w=8)
f
f$fk
f$Fk
## individual risk calculation:
indivf <- indivRisk(f)
indivf$rk
## Local Suppression
localS <- localSupp(f, keyVar=2, threshold=0.25)
f2 <- freqCalc(localS$freqCalc, keyVars=c(4,5,6), w=8)
summary(f2)

Run the code above in your browser using DataLab