Description Usage Arguments Value
View source: R/preparing_data.R
This function converts the categorical variables into either numeric (if ordered) or characters, if not.
1 | rationalize_categoricals(df, target_variable = "y")
|
df |
a data frame |
target_variable |
a string name for the target variable |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.