Using series coming from trim_series()
, it uses latest observed values
to forecast missing values.
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 asforecast::holt()
orforecast::ses()
.- ...
Additional arguments passed to the forecast function.