control_refit: Control aspects of the 'modeltime_refit()' process.

Description Usage Arguments Value See Also Examples

View source: R/control-par.R

Description

Control aspects of the modeltime_refit() process.

Usage

1
control_refit(verbose = FALSE, allow_par = FALSE, cores = -1, packages = NULL)

Arguments

verbose

Logical to control printing.

allow_par

Logical to allow parallel computation. Default: FALSE (single threaded).

cores

Number of cores for computation. If -1, uses all available physical cores. Default: -1.

packages

An optional character string of additional R package names that should be loaded during parallel processing.

  • Packages in your namespace are loaded by default

  • Key Packages are loaded by default: tidymodels, parsnip, modeltime, dplyr, stats, lubridate and timetk.

Value

A List with the control settings.

See Also

modeltime_refit()

Examples

1
2
3
4
5
# No parallel processing
control_refit()

# With parallel processing
control_refit(allow_par = TRUE)

modeltime documentation built on July 16, 2021, 9:08 a.m.