uni_model_2_scalar_forecast.Rd
Extract one scalar forecast from univariate model
uni_model_2_scalar_forecast(model, h = 1, model_sample = NA)
model | univariate model |
---|---|
h | forecasting horizon |
model_sample | ignored |
mean scalar forecast
Extract one scalar forecast from univariate model
test = dplyr::tibble(date = as.Date("2017-01-01") + 0:9, value = rnorm(10)) tbats = tbats_fun(test, 1) uni_model_2_scalar_forecast(tbats, h = 2)#> [1] -0.6045084