| limits_to_agegroups {socialmixr} | R Documentation | 
Convert lower age limits to age groups.
Description
Mostly used for plot labelling
Usage
limits_to_agegroups(x, limits = sort(unique(x)))
Arguments
x | 
 age limits to transform  | 
limits | 
 lower age limits; if not given, will use all limits in   | 
Value
Age groups (limits separated by dashes)
Examples
limits_to_agegroups(c(0, 5, 10))
[Package socialmixr version 0.3.2 Index]