fitted.mdl_df {fabletools}R Documentation

Extract fitted values from models

Description

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.

Usage

## 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.


[Package fabletools version 0.4.2 Index]