Extracts the fitted values from each of the models in a mable. A tsibble will be returned containing these fitted values. Fitted values will be automatically back-transformed if a transformation was specified.
# S3 method for mdl_df fitted(object, ...) # S3 method for mdl_ts fitted(object, h = 1, ...)
object | A mable or time series model. |
---|---|
... | Other arguments passed to the model method for |
h | The number of steps ahead that these fitted values are computed from. |