R/nnetar.R
glance.NNETAR.Rd
Construct a single row summary of the NNETAR model. Contains the variance of residuals (sigma2).
sigma2
# S3 method for class 'NNETAR' 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(airmiles) %>% model(nn = NNETAR(box_cox(value, 0.15))) %>% glance() #> # A tibble: 1 × 2 #> .model sigma2 #> <chr> <dbl> #> 1 nn 0.211