R/model_ets.R

Defines functions .ets_forecast .ets_fit

.ets_fit <- function(train_df, date_agg = "day", ...) {
  forecast::ets(.prep_train_ts(train_df, date_agg))
}
.ets_forecast <- function(model, h, ...) forecast::forecast(model, h = h)

Try the forecastsuite package in your browser

Any scripts or data that you put into this service are public.

forecastsuite documentation built on Oct. 18, 2026, 5:08 p.m.