Description Usage Arguments Value
Creates a dummy variable for a column and removes that column from the dataset. Can be used within a dplyr chain.
1 |
data |
A dataframe |
col |
Character list of the factor column(s) to be transformed into dummy variables. |
The dataframe with the new dummy variable columns.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.