Description Usage Arguments Value Source
Append indicator variables to a data frame based on a single factor variable
1 |
data |
a data frame |
col |
character, name of the factor column to generate indicators for |
a data frame with the factor levels appended as columns
http://stackoverflow.com/questions/35943455/creating-indicator-variable-columns-in-dplyr-chain
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.