residuals.mdl_df {fabletools} | R Documentation |
Extracts the residuals from each of the models in a mable. A tsibble will be returned containing these residuals.
## S3 method for class 'mdl_df'
residuals(object, ...)
## S3 method for class 'mdl_ts'
residuals(object, type = "innovation", ...)
object |
A mable or time series model. |
... |
Other arguments passed to the model method for |
type |
The type of residuals to compute. If |