Learn R Programming

excessmort (version 0.8.2)

group_age: Assign age to group

Description

Assign age to group

Usage

group_age(age, breaks)

Value

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

Arguments

age

Vector of ages

breaks

Ages that define strata