View source: R/SuppressKDisclosure.R
KDisclosurePrimary | R Documentation |
Function for constructing model matrix columns representing primary suppressed difference cells
KDisclosurePrimary(
data,
x,
crossTable,
freqVar,
mc_hierarchies = NULL,
coalition = 1,
upper_bound = Inf,
...
)
data |
a data.frame representing the data set |
x |
ModelMatrix generated by parent function |
crossTable |
crossTable generated by parent function |
freqVar |
name of the frequency variable in |
mc_hierarchies |
a hierarchy representing meaningful combinations to be
protected. Default value is |
coalition |
numeric vector of length one, representing possible size of an attacking coalition. This parameter corresponds to the parameter k in the definition of k-disclosure. |
upper_bound |
numeric value representing minimum count considered safe.
Default set to |
... |
parameters passed to children functions |
dgCMatrix corresponding to primary suppressed cells
Daniel P. Lupp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.