glance.RW {fable} | R Documentation |
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 class 'RW'
glance(x, ...)
Arguments
x |
model or other R object to convert to single-row data frame |
... |
other arguments passed to methods |
Value
A one row tibble summarising the model's fit.
Examples
as_tsibble(Nile) %>%
model(NAIVE(value)) %>%
glance()
library(tsibbledata)
aus_production %>%
model(snaive = SNAIVE(Beer ~ lag("year"))) %>%
glance()
[Package fable version 0.3.4 Index]