powered by
Operates on lower limits
reduce_agegroups(x, limits)
vector of limits
new limits
vector with the new age groups
# NOT RUN { reduce_agegroups(seq_len(20), c(0, 5, 10)) # }
Run the code above in your browser using DataLab