Description Usage Arguments Value Examples
A wrapper of the function CalibrateSSB
1 | CalibrateSSBweights(data, ..., weightsname = "calWeights")
|
data |
The gross sample data frame |
... |
Further arguments to CalibrateSSB |
weightsname |
Name of variable with output weights |
Input data extended with output weights
1 2 3 4 5 6 7 8 | # Generates data - two years
z <- AkuData(3000) # 3000 in each quarter
zPop <- AkuData(10000)[,1:7]
# Calibration using "survey"
a <- CalibrateSSBweights(z, calmodel = "~ sex*age",
partition = c("year","q"), # calibrate within quarter
popData = zPop)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.