convToDummy: Dummy code the specified columns in a dataset. The returned...

Description Usage Arguments

Description

Dummy code the specified columns in a dataset. The returned columns will be of the form colNm1_val1, colNm1_val2, etc

Usage

1
convToDummy(dfOrig, colNms)

Arguments

colNms

a list of column names to dummy code

df

data.frame or data.table


wtcooper/modUtils documentation built on May 4, 2019, 11:59 a.m.