genericforecast.Rd
This function allows to call any function "of class forecast
".
genericforecast(FUN, y, h, level = 95, ...)
A forecasting function.
A time series (ts
object or vector).
Forecasting horizon.
The confidence level.
Additional arguments to be passed to the forecasting function.
An object of class forecast
.