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