Description Usage Arguments Value Examples
Convert Categorical Variables to Booleans.
1 2 | cat2bool(x, match.to = NULL, make.names = TRUE, ignore.cols = c(),
other.name = "Other")
|
x |
Dataframe or tibble. |
match.to |
Data frame to match the values to. This will ensure consistent columns for modeling. |
ignore.cols |
Columns to ignore. |
Modified data.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.