forecast_ets: Forecast using ETS model

Description Usage Arguments Details Value Examples

View source: R/forecast.R

Description

forecast_ets forecasts time series using ETS model

Usage

1
forecast_ets(y, h = 1, model = NULL, ...)

Arguments

y

multivariate time series

h

forecast horizon

model

list of estimated ETS models. If missing will be estimated automatically.

...

further arguments passed to ets function

Details

ets function from forecast package is used

Value

forecasts from ETS model as mforecast object

Examples

1
2
3
data(rus_macro)
y_small <- rus_macro[, c("cpi", "employment", "m2")]
ets_forecast <- forecast_ets(y_small, h = 2)

bdemeshev/torro documentation built on May 21, 2019, 8:36 a.m.