categorize_age_5: Create a categorical age column from a converted ager27...

View source: R/categorize_age_5.R

categorize_age_5R Documentation

Create a categorical age column from a converted ager27 column

Description

Simply makes more meaningful labels on the age column. Assumes that the age column was created from the convert_ager27() function. Allows for using tidyr::complete() even when some age/year/race combinations have no observations.

Usage

categorize_age_5(age_column)

Arguments

age_column

age column created from convert_ager27()

Value

factor

Examples

categorize_age_5(seq(0, 70, 5))

mkiang/narcan documentation built on Sept. 26, 2024, 7:18 a.m.