Mostly used for plot labelling
Examples
limits_to_agegroups(c(0, 5, 10))
#> Warning: In the next version of socialmixr the default notation will become "brackets" instead of "dashes". To prevent this, use `notation = "dashes"` in the call to `limits_to_agegroups()`.
#> [1] 0-4 5-9 10+
#> Levels: 0-4 < 5-9 < 10+