View source: R/limits_to_agegroups.r
limits_to_agegroups | R Documentation |
Mostly used for plot labelling
limits_to_agegroups(
x,
limits = sort(unique(x)),
notation = c("dashes", "brackets")
)
x |
age limits to transform |
limits |
lower age limits; if not given, will use all limits in |
notation |
whether to use bracket notation, e.g. [0,4) or dash notation, e.g. 0-4) |
Age groups as specified in notation
limits_to_agegroups(c(0, 5, 10))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.