Description Usage Arguments Value
View source: R/age_grouping_fun.R
Age grouping function creates standard population weights for user selected age groups. Allows for flexible age groups selection in smr, rii and st_rate functions. Internal use only.
1 | age_grouping(age_group, st_pop, min_age, n_age)
|
age_group |
character string of age groups for which the results are to be provided. |
st_pop |
standard population weights to use. |
min_age |
minimum age group (to check if it is 0 or 0-4). |
n_age |
number of age groups. |
A small data frame of weights for user selected age groups.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.