kAnon_violationsreturns the number of observations violating k-anonymity.
kAnon_violations(object, weighted, k)# S4 method for sdcMicroObj,logical,numeric
kAnon_violations(object, weighted, k)
a sdcMicroObj-class object
TRUE or FALSE defining if sampling weights should be taken into account
a positive number defining parameter k
the number of records that are violating k-anonymity based on
unweighted sample data only (in case parameter weighted is FALSE) or computing
the number of observations that are estimated to violate k-anonymity in the population in case
parameter weighted equals TRUE.