Learn R Programming

easyml (version 0.1.0)

set_random_state: Set random state.

Description

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

Usage

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