fitted.mdl_df: Extract fitted values from models

View source: R/fitted.R

fitted.mdl_dfR 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.


fabletools documentation built on Oct. 12, 2023, 1:07 a.m.