This helper function decides whether the analysis should be run in parallel based on the number of cores specified.

set_parallel(n_core)

Arguments

n_core

An integer vector of length one; specifies the number of cores to use for this analysis. Currently only works on Mac OSx and Unix/Linux systems. Defaults to 1L.

Value

A logical vector of length one; whether analysis should be run in parallel or not.

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_plot_model_performance, set_plot_predictions, set_preprocess, set_random_state, set_resample