powered by
Provides sortable labels for age groups
age_labels(age_cuts)
A vector of labels with zero-padded numerics so they can be sorted easily.
(numeric()) The lower bound of the groups (0 is implicitly included).
numeric()
age_labels(c(5, 12, 20, 30))
Run the code above in your browser using DataLab