Learn R Programming

MILC (version 1.0)

age_grp: Define age group

Description

Returns the 5-year age group ("

Usage

age_grp(age)

Arguments

age
continuous variable in years.

Value

See Also

d_grp

Examples

Run this code
# 5-year age group of an individual 21 years old:
  age_grp(21)
# 5-year age group of an individual 77.5 years old:
  age_grp(77.5)

Run the code above in your browser using DataLab