Description Usage Arguments Value Note
[internal] Generate stratum numbers along a given vector.
1 | .GenerateStrata(geo.group, group.ratios)
|
geo.group |
(integer vector of length equal to number of geos) a vector of geo group numbers (may be NAs). |
group.ratios |
(integer vector of length equal to number of geo groups) vector of ratios of the sizes of each group. |
An integer vector of the same length as 'geo.group', with the corresponding stratum numbers. '0' signifies a geo that is excluded from the set. Otherwise the numbers identify the strata. There are no NAs.
For internal use; no checking of arguments is done.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.