powered by
Extracts the residuals.
# S3 method for ETS residuals(object, ...)
A vector of fitted residuals.
A model for which forecasts are required.
Other arguments passed to methods
as_tsibble(USAccDeaths) %>% model(ets = ETS(log(value) ~ season("A"))) %>% residuals()
Run the code above in your browser using DataLab