forecast.fbl_prophet function

Produce forecasts from the prophet model

Produce forecasts from the prophet model

If additional future information is required (such as exogenous variables or carrying capacities) by the model, then they should be included as variables of the new_data argument.

## S3 method for class 'fbl_prophet' forecast(object, new_data, specials = NULL, times = 1000, ...)

Arguments

  • object: The time series model used to produce the forecasts
  • new_data: A tsibble containing future information used to forecast.
  • specials: (passed by fabletools::forecast.mdl_df()).
  • times: The number of sample paths to use in estimating the forecast distribution when boostrap = TRUE.
  • ...: Additional arguments passed to prophet::predict.prophet().

Returns

A list of forecasts.

Examples

if (requireNamespace("tsibbledata")) { library(tsibble) tsibbledata::aus_production %>% model( prophet = prophet(Beer ~ season("year", 4, type = "multiplicative")) ) %>% forecast() }

See Also

prophet::predict.prophet()