| data.alloc | R Documentation |
Calculates the stratum sample sizes (nh) for a fixed total sample size (n) directly from the data.
data.alloc(data, my_env)
data |
Input dataset. |
my_env |
Environment object. |
...
Uses OSB to compute stratum weights (Wh), sample variances (Vh from data), and Neyman allocations (nh). Builds the summary table once at the end.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.