limits_to_agegroups() was renamed to limits_to_age_groups() for naming
consistency.
limits_to_agegroups(
x,
limits = sort(unique(x)),
notation = c("dashes", "brackets")
)Age groups as specified in notation
age limits to transform
lower age limits; if not given, will use all limits in x
whether to use bracket notation, e.g. [0,4) or dash notation, e.g. 0-4)