View source: R/helpfunctions_checks.R
| convert_variables | R Documentation |
Cleans up the data by
changing NaN to NA
converting continuous variables with just two values to factor
converting logical variables to a factor
cleaning factor labels (using make.names())
convert_variables(data, allvars, mess = TRUE)
data |
a |
allvars |
a character vector of the relevant variables in |
mess |
logical, if |
used in model_imp (2025-09-07)
the cleaned data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.