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 class 'mdl_df'
fitted(object, ...)

# S3 method for class 'mdl_ts'
fitted(object, h = 1, ...)

Arguments

object

A mable or time series model.

...

Other arguments passed to the model method for fitted()

h

The number of steps ahead that these fitted values are computed from.