View source: R/one_hot_encoder.R
This function one-hot encodes a list of features
1 | one_hot_encoder(df, features)
|
df |
A data.frame (or coercible) object that contains the columns to be encoded |
features |
A list of names that identify the columns to be encoded |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.