age_group_levels: Create age group level description based on passed upper...

View source: R/RcppExports.R

age_group_levelsR Documentation

Create age group level description based on passed upper limits

Description

Returns a vector of age group levels given the upper age group limits. These levels can be used as the named levels in a factor

Usage

age_group_levels(limits = as.numeric(c()))

Arguments

limits

The upper limit to each age groups (not included) (1,5,15,25,45,65) corresponds to the following age groups: <1, 1-4, 5-14, 15-24, 25-44, 45-64 and >=65.

Value

Vector representing the age group(s)


MJomaba/flu-evidence-synthesis documentation built on April 26, 2022, 11:12 p.m.