group_age: Assign age to group

View source: R/group_age.R

group_ageR Documentation

Assign age to group

Description

Assign age to group

Usage

group_age(age, breaks)

Arguments

age

Vector of ages

breaks

Ages that define strata

Value

A factor that groups the ages into the age groups defined by 'breaks'.


rafalab/excessdeaths documentation built on April 11, 2025, 7:53 p.m.