This helper functions determines a logical boolean vector based on the column names and the designation for which ones are categorical variables.
set_categorical_variables(column_names, categorical_variables = NULL)
column_names | A character vector; the column names of the data for this analysis. |
---|---|
categorical_variables | A character vector; the variables that are categorical. Defaults to NULL. |
NULL, or if categorical_variables
is not NULL, then a logical vector of length length(column_names
where TRUE represents that column is a categorical variable.
Other setters: set_column_names
,
set_cores
,
set_dependent_variable
,
set_independent_variables
,
set_looper_
, set_looper
,
set_measure
, set_parallel
,
set_plot_model_performance
,
set_plot_predictions
,
set_preprocess
,
set_random_state
,
set_resample