Learn R Programming

sdcMicroGUI (version 1.4.0)

plot.indivRisk: plot method for indivRisk objects

Description

Plots an interactive histogramm or ecdf plot with various interactive sliders.

Usage

"plot"(x, ...)

Arguments

x
object of class ‘indivRisk’
...
Additional arguments passed through.

Details

With the sliders one can move the individual risk threshold. By this movement the threshold will be moved on the plot and the slider with a re-idendification rate and the slider of the number of unsafe records (based on your chosen threshold) are also moved based on the individual risk threshold. This plot is very similar to the individual risk plot of the software mu-Argus.

References

look e.g. on the mu-Argus manuals available at http://neon.vb.cbs.nl/casc/Software/MuManual4.1.pdf

Templ, M. Statistical Disclosure Control for Microdata Using the R-Package sdcMicro, Transactions on Data Privacy, vol. 1, number 2, pp. 67-85, 2008. http://www.tdp.cat/issues/abs.a004a08.php

See Also

indivRisk

Examples

Run this code
## example from Capobianchi, Polettini and Lucarelli:
data(francdat)
ff <- freqCalc(francdat, keyVars=c(2,4,5,6),w=8)
irisk <- indivRisk( ff ) 
## and now apply:
## plot(irisk)
data(free1)
ff <- freqCalc(free1, keyVars=1:3, w=30)
irisk2 <- indivRisk(ff)
## and now apply:
## plot(irisk2) 

Run the code above in your browser using DataLab