Sets the random state to a specific seed. Please note this function affects global state.
set_random_state(random_state = NULL)
| random_state | An integer vector of length one; specifies the seed to be used for the analysis. Defaults to NULL. |
|---|
NULL.
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