This helper functions isolates the independent variables in a data.frame.

set_independent_variables(.data, dependent_variable)

Arguments

.data

A data.frame; the data to be analyzed.

dependent_variable

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

Value

A data.frame, the independent variables of the analysis.

See also

Other setters: set_categorical_variables, set_column_names, set_cores, set_dependent_variable, set_looper_, set_looper, set_measure, set_parallel, set_plot_model_performance, set_plot_predictions, set_preprocess, set_random_state, set_resample