Description Usage Arguments Value Note Examples
In each stratum, select a simple random sample
1 | stratsrs(stratum,nh)
|
stratum |
A vector of stratum codes, sorted by stratum |
nh |
A vector containing the sample size in each stratum |
Returns the indices of the units that were selected in the sample
See the user's guide, pps-ug.pdf, for more information.
1 2 3 |
[1] 1 4 8 13 10 14
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.