RangeLimitsDefault {GaussSuppression} | R Documentation |
Default range limit function
Description
Preliminary function
Usage
RangeLimitsDefault(
...,
rangePercent = 0,
rangeMin = 0,
primary,
num,
freq,
freqVar,
dominanceVar = NULL,
intervalVar = NULL
)
Arguments
... |
Unused parameters |
rangePercent |
Required interval width expressed as a percentage |
rangeMin |
Minimum required width of the interval |
primary |
primary |
num |
num |
freq |
freq |
freqVar |
freqVar |
dominanceVar |
dominanceVar |
intervalVar |
Numerical variable(s) for interval calculations.
When |
Value
matrix with named columns
Examples
dat <- SSBtoolsData("magnitude1")
dat["num2"] <- 1:nrow(dat)
SuppressDominantCells(data = dat,
numVar = "value",
formula = ~sector2 * geo + sector4 * eu,
contributorVar = "company",
n = 1:2, k = c(80, 99),
output = RangeOutputFunction, rangePercent = 10, rangeMin = 1)
SuppressDominantCells(data = dat,
numVar = c("value", "num2"),
formula = ~sector2 * geo + sector4 * eu,
contributorVar = "company",
n = 1:2, k = c(80, 99),
output = RangeOutputFunction,
intervalVar = c("value","freq", "num2"),
rangePercent = c(10, 10, 30), rangeMin = c(1, 0.2222, 2.222))
[Package GaussSuppression version 0.8.8 Index]