powered by
Extracts the residuals.
# S3 method for NNETAR residuals(object, ...)
A vector of fitted residuals.
A model for which forecasts are required.
Other arguments passed to methods
as_tsibble(airmiles) %>% model(nn = NNETAR(box_cox(value, 0.15))) %>% residuals()
Run the code above in your browser using DataLab