View source: R/methods-fable.R
| model_sum.SMEAN | R Documentation |
Return a short model label for a fitted SMEAN model.
## S3 method for class 'SMEAN'
model_sum(x)
x |
A fitted |
A character string.
Other SMEAN:
SMEAN(),
fitted.SMEAN(),
forecast.SMEAN(),
residuals.SMEAN()
library(dplyr)
library(tsibble)
library(fabletools)
train_frame <- M4_monthly_data |>
filter(series == first(series)) |>
as_tsibble(index = index)
model_frame <- train_frame |>
model("SMEAN" = SMEAN(value ~ lag("year")))
model_frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.