set_dependent_variable: Set dependent variable.

Description Usage Arguments Value See Also

View source: R/setters.R

Description

This helper functions isolates the dependent variable in a data.frame.

Usage

1
set_dependent_variable(.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 vector, the dependent variable of the analysis.

See Also

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