as.age.group | R Documentation |
Renamed to as_age_group
as.age.group(age, limits = as.numeric(c(1, 5, 15, 25, 45, 65)))
age |
The relevant age |
limits |
The upper limit to each age groups (not included) (1,5,15,25,45,65) corresponds to the following age groups: <1, 1-4, 5-14, 15-24, 25-44, 45-64 and >=65. |
An integer representing the age group
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.