View source: R/ts_deterministic.R
| ts_persist | R Documentation |
Forecast a univariate series by repeating its most recent observed value.
ts_persist()
A ts_persist object, inheriting from ts_deterministic.
series <- c(10, 11, 11, 11)
model <- ts_persist()
model <- daltoolbox::fit(model, x = series)
predict(model, steps_ahead = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.