Skip to contents

Operates on lower limits

Usage

reduce_agegroups(x, limits)

Arguments

x

vector of limits

limits

new limits

Value

vector with the new age groups

Examples

reduce_agegroups(seq_len(20), c(0, 5, 10))
#>  [1]  0  0  0  0  5  5  5  5  5 10 10 10 10 10 10 10 10 10 10 10