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

View source: R/categorize_age_5u1.R

categorize_age_5u1R 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_5u1(ageu1_column)

Arguments

ageu1_column

age column created from convert_ager27u1()

Value

factor

Examples

categorize_age_5u1(c(0, 1, seq(5, 85, 5)))

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