Description Usage Arguments Value Examples
spread_factors turns any character or factors into dummy variables
1 | spread_factors(data, drop_one = T)
|
data |
the data |
drop_one |
logical indicating whether one level should be dropped |
a data frame with dummy variables instead of factors
1 | spread_factors(iris, drop_one = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.