recode_ethnicity: recode_ethnicity

Description Usage Arguments Value

Description

recode_ethnicity

Usage

1
recode_ethnicity(df, ethn_col = "EthnicGroup")

Arguments

df

a dataframe

ethn_col

the column of df containing the ethnicity data to be recoded

Value

df with an additional column "EthnicGroupComp" holding the recoded ethnicity data


HorridTom/clahrcnwlhf documentation built on May 7, 2019, 4:02 a.m.