Learn R Programming

fable (version 0.3.3)

glance.RW: Glance a lag walk model

Description

Construct a single row summary of the lag walk model. Contains the variance of residuals (sigma2).

Usage

# S3 method for RW
glance(x, ...)

Value

A one row tibble summarising the model's fit.

Arguments

x

model or other R object to convert to single-row data frame

...

other arguments passed to methods

Examples

Run this code
as_tsibble(Nile) %>%
  model(NAIVE(value)) %>%
  glance()

library(tsibbledata)
aus_production %>%
  model(snaive = SNAIVE(Beer ~ lag("year"))) %>%
  glance()

Run the code above in your browser using DataLab