Description Usage Arguments Value References
Determines sample size by strata using sub-units
1 |
df |
object containing full 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) |
unit |
variable in sampling data frame containing sub-units (e.g. population) |
over |
(optional) desired oversampling proportion (defaults to 0; takes value between 0 and 1 as input) |
Returns sample size per strata based on sub-units (rounded up to nearest integer)
[1] Sampling Design & Analysis, S. Lohr, 1999, 4.4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.