Skip to contents

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.