Description Usage Arguments Details Value Examples
The Dataframe has to have the columny date, iterate and y. Following methods are supported:
1 | tf_grouped_forecasts(data, n_pred, func, parallel = TRUE, ...)
|
data |
The dataframe containing the timeseries. |
n_pred |
The forecast horizon. |
func |
The used forecast method. |
parallel |
Specifies if the forecasts are created in parallel. |
... |
More arguments specific to the used forecasting method. |
forecasts package: All methods from the forecast packages (https://CRAN.R-project.org/package=forecast) should work
prophet: (https://CRAN.R-project.org/package=prophet)
forecastHybrid: (https://CRAN.R-project.org/package=forecastHybrid)
smooth package: (https://CRAN.R-project.org/package=smooth)
The forecasts are created in parallel with the help of the furrr package
(https://github.com/DavisVaughan/furrr). Right now there is some bug
with the prophet model in parallel.Thats why you should create prophet
predictions with the parameter parallel = FALSE
.
The forecasted values for the dataset.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.