set_categorical_variables: Set categorical variables.

Description Usage Arguments Value See Also

View source: R/setters.R

Description

This helper functions determines a logical boolean vector based on the column names and the designation for which ones are categorical variables.

Usage

1
set_categorical_variables(column_names, categorical_variables = NULL)

Arguments

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.

Value

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.

See Also

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


easyml documentation built on June 26, 2017, 9:02 a.m.