one_hot | R Documentation |
support function for one-hot encoding
one_hot(df)
df |
data.frame object for performing one-hot encoding |
data.frame object with factor variables one-hot encoded for each level
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.