Description Usage Arguments Value References Examples
Determines sample size by strata using proportional allocation
1 |
df |
object containing sampling data frame (e.g. data) |
n |
sample size (integer) or object containing sample size |
strata |
variable in sampling data frame by which to stratify (e.g. region) |
over |
(optional) desired oversampling proportion (defaults to 0; takes value between 0 and 1 as input) |
Returns proportional sample size per strata (rounded up to nearest integer)
[1] Sampling Design & Analysis, S. Lohr, 1999, 4.4
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.