Calculates sample weights based on the sample and population count variables calculated by
ns
.
1 |
sample |
a sample data frame with sample and population stratum counts given by the variables 'n' and 'N' respectively. |
cap |
(default 3) a maximum for truncated median normed Horvitz-Thompson weights. |
... |
other arguments for future weight functions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.