Print and Extractor Functions for objects of class sdcMicroObj-class
Print and Extractor Functions for objects of class sdcMicroObj-class
Descriptive print function for Frequencies, local Supression, Recoding, categorical risk and numerical risk.
methods
## S4 method for signature 'sdcMicroObj'print(x, type ="kAnon", docat =TRUE,...)
Arguments
x: An object of class sdcMicroObj-class
type: Selection of the content to be returned or printed
docat: logical, if TRUE (default) the results will be actually printed
...: the type argument for the print method, currently supported are:
general: basic information on the input obj such as the number of observations and variables.
kAnon: displays information about 2- and 3-anonymity
ls: displays various information if local suppression has been applied.
pram: displays various information if post-randomization has been applied.
recode: shows information about categorical key variables before and after recoding
risk: displays information on re-identification risks
numrisk: displays risk- and utility measures for numerical key variables
Details
Possible values for the type argument of the print function are: "freq": for Frequencies, "ls": for Local Supression output, "pram": for results of post-randomization "recode":for Recodes, "risk": forCategorical risk and "numrisk": for Numerical risk.
Possible values for the type argument of the freq function are: "fk": Sample frequencies and "Fk": weighted frequencies.