powered by
Extracts the residuals.
# S3 method for TSLM residuals(object, ...)
A vector of fitted residuals.
The time series model used to produce the forecasts
Additional arguments for forecast model methods.
as_tsibble(USAccDeaths) %>% model(lm = TSLM(log(value) ~ trend() + season())) %>% residuals()
Run the code above in your browser using DataLab