Add dummy-coded variables to data frame.
This function is depreciated. Use fastDummies::dummy_cols() instead.
dummyCode(df, vars)
df
: A data frame.vars
: The variables in the data frame for which you want to create new dummy coded variables.A a dataframe with new dummy-coded variables added.