forecast_series: Forecast data series

View source: R/predict_forecast.R

forecast_seriesR Documentation

Forecast data series

Description

Using series coming from trim_series(), it uses latest observed values to forecast missing values.

Usage

forecast_series(x, forecast_function, ...)

Arguments

x

Series to forecast, coming from trim_series()

forecast_function

An R function that outputs a forecast object coming from the forecast package. You can directly pass forecast::forecast() to the function, or you can pass other wrappers to it such as forecast::holt() or forecast::ses().

...

Additional arguments passed to the forecast function.

Value

Forecast model.


caldwellst/augury documentation built on Oct. 10, 2024, 8:20 a.m.