Dummy code the specified columns in a dataset. The returned columns will be of the form colNm1_val1, colNm1_val2, etc
1 | convToDummy(dfOrig, colNms)
|
colNms |
a list of column names to dummy code |
df |
data.frame or data.table |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.