convert_ager27u1: Converts the age27 variable in MCOD data to under-1, 1-4,...

View source: R/convert_ager27u1.R

convert_ager27u1R Documentation

Converts the age27 variable in MCOD data to under-1, 1-4, then 5-year groups

Description

Converts the age27 variable in MCOD data to under-1, 1-4, then 5-year groups

Usage

convert_ager27u1(icd_df, remove_age27 = TRUE)

Arguments

icd_df

an MCOD dataframe with age27 as a column

remove_age27

once a new column is created, remove the old age27

Value

dataframe


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