ets_fun: Do forecast using auto ETS

Description Usage Arguments Details Value Examples

View source: R/modelling.R

Description

Do forecast using auto ETS

Usage

1
ets_fun(model_sample, h, target = "value")

Arguments

model_sample

preferably tsibble with "value" column

h

forecasting horizon, is ignored

target

name of the target variable, "value" by default

Details

Do forecast using auto ETS

Value

auto ETS model

Examples

1
2
test = dplyr::tibble(date = as.Date("2017-01-01") + 0:9, value = rnorm(10))
ets_fun(test, 1)

kassandra-ru/kassandr documentation built on Jan. 1, 2022, 7:39 a.m.