summary.freqCalc: Summary method for objects from class freqCalc

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/freqCalc.r

Description

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

Usage

1
2
## S3 method for class 'freqCalc'
summary(object, ...)

Arguments

object

object from class freqCalc

...

Additional arguments passed through.

Details

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

Value

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

Author(s)

Matthias Templ

See Also

freqCalc

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## 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)

sdcMicro documentation built on Nov. 17, 2017, 8:08 a.m.