Description Usage Arguments Value Examples
Generate dummy variables, i.e. One-Hot Encoding
1 | dummify(feature, newFieldName)
|
feature |
Vector of numbers/charactors that represent a categorical feature. |
newFieldName |
Character string used to form name for the generated dummy variables. |
A data frame with each column representing a generated dummy variable.
1 | dummyMMID_UsedPlat <- dummify(feature = Data_UsedPlat$MMID, newFieldName = 'MMID')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.