Summary method for objects from class freqCalc

Share:

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, indivRisk=indivf$rk, threshold=0.25)
f2 <- freqCalc(localS$freqCalc, keyVars=c(4,5,6), w=8)
summary(f2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.