model_sum.SNAIVE2: Summarize a SNAIVE2 model

View source: R/methods-fable.R

model_sum.SNAIVE2R Documentation

Summarize a SNAIVE2 model

Description

Return a short model label for a fitted SNAIVE2 model.

Usage

## S3 method for class 'SNAIVE2'
model_sum(x)

Arguments

x

A fitted SNAIVE2 model object.

Value

A character string.

See Also

Other SNAIVE2: SNAIVE2(), fitted.SNAIVE2(), forecast.SNAIVE2(), residuals.SNAIVE2()

Examples

library(dplyr)
library(tsibble)
library(fabletools)

train_frame <- elec_price |>
  filter(bidding_zone == "DE") |>
  slice_head(n = 24 * 21) |>
  as_tsibble(index = time)

model_frame <- train_frame |>
  model("SNAIVE2" = SNAIVE2(value))

model_frame

tscv documentation built on May 13, 2026, 9:07 a.m.