set_random_state: Set random state.

Description Usage Arguments Value See Also

View source: R/setters.R

Description

Sets the random state to a specific seed. Please note this function affects global state.

Usage

1
set_random_state(random_state = NULL)

Arguments

random_state

An integer vector of length one; specifies the seed to be used for the analysis. Defaults to NULL.

Value

NULL.

See Also

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


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