reduce_agegroups: Reduce the number of age groups given a broader set of limits

Description Usage Arguments Value Examples

View source: R/reduce_agegroups.r

Description

Operates on lower limits

Usage

1
reduce_agegroups(x, limits)

Arguments

x

vector of limits

limits

new limits

Value

vector with the new age groups

Examples

1
reduce_agegroups(seq_len(20), c(0, 5, 10))

socialmixr documentation built on Jan. 11, 2020, 9:31 a.m.