Crunch Datasets allow you to set a target population size in order to extrapolate population estimates from survey percentages. These functions let you work with the population size and magnitude.
popSize(x)
popMagnitude(x)
popSize(x) <- value
popMagnitude(x) <- value
setPopulation(x, size, magnitude)
# S4 method for class 'CrunchDataset'
popSize(x)
# S4 method for class 'CrunchDataset'
popSize(x) <- value
# S4 method for class 'CrunchDataset'
popMagnitude(x)
# S4 method for class 'CrunchDataset'
popMagnitude(x) <- value
# S4 method for class 'CrunchDataset'
setPopulation(x, size, magnitude)
popSize
and popMagnitude
return the population size or
magnitude. setPopulation
returns the modified dataset.