R/lagwalk.R
glance.RW.Rd
Construct a single row summary of the lag walk model. Contains the variance of residuals (sigma2).
sigma2
# S3 method for class 'RW' glance(x, ...)
model or other R object to convert to single-row data frame
other arguments passed to methods
A one row tibble summarising the model's fit.
as_tsibble(Nile) %>% model(NAIVE(value)) %>% glance() #> # A tibble: 1 × 2 #> .model sigma2 #> <chr> <dbl> #> 1 NAIVE(value) 28268. library(tsibbledata) aus_production %>% model(snaive = SNAIVE(Beer ~ lag("year"))) %>% glance() #> # A tibble: 1 × 2 #> .model sigma2 #> <chr> <dbl> #> 1 snaive 366.