Create a discrete age variable for each of the length(pop$age_group) distinct age groups
Arguments
- ages
Vector of ages from create_continuous_age_variable
- pop
Vector of integer ages
Create a discrete age variable for each of the length(pop$age_group) distinct age groups
Vector of ages from create_continuous_age_variable
Vector of integer ages