Description Usage Arguments Value
View source: R/spread_factor_features.R
One factor level maps to one binary indicator.
1 | spread_factor_features(df, omit_one_level = FALSE)
|
df |
A data frame. |
omit_one_level |
One factor level is not spread (avoids perfect collinearity) |
A data frame.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.