Function for GaussSuppressionFromData
Usage
PrimaryDefault(
freq,
maxN = 3,
protectZeros = TRUE,
protectionIntervals = FALSE,
freqVar,
...
)
Arguments
- freq
Vector of output frequencies
- maxN
Cells with frequency
<= maxN
are set as primary suppressed. Can also be a named list or vector, where the value corresponding tofreqVar
will be used if available. If not found, the name"freq"
is tried as an alternative.- protectZeros
When
TRUE
, cells with zero frequency are set as primary suppressed.- protectionIntervals
Logical. When
TRUE
, some interval requirements are included in the output as a safeguard against obvious weaknesses with respect to attribute disclosure. The rule is that the upper bound must be at least 1 above the observed frequency, and the total interval width must be at least 2. The corresponding variables are added with names starting withupmin_
andrlim_
. SeeIntervalLimits()
for setting interval limits in general.- freqVar
Character string used to select the appropriate value from
maxN
if it is a named object. seemaxN
above.- ...
Unused parameters
Value
primary, GaussSuppression
input