This functions helps decide what the updated column names of a data.frame should be within the easyml framework based on the dependent variable, preprocessing function, exclusionary variables, and categorical variables.

set_column_names(column_names, dependent_variable, preprocess = NULL,
  exclude_variables = NULL, categorical_variables = NULL)

Arguments

column_names

A character vector; the column names of the data for this analysis.

dependent_variable

A character vector of length one; the dependent variable for this analysis.

preprocess

A function; the function for preprocessing the data. Defaults to NULL.

exclude_variables

A character vector; the variables from the data set to exclude. Defaults to NULL.

categorical_variables

A character vector; the variables that are categorical. Defaults to NULL.

Value

The updated columns, in the correct order for preprocessing.

See also

Other setters: set_categorical_variables, 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