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

# S3 method for class 'NNETAR'
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(airmiles) %>%
  model(nn = NNETAR(box_cox(value, 0.15))) %>%
  glance()
#> # A tibble: 1 × 2
#>   .model sigma2
#>   <chr>   <dbl>
#> 1 nn      0.211