Learn R Programming

echos (version 1.0.2)

fitted.ESN: Extract fitted values from a trained ESN

Description

Extract fitted values from a trained ESN as tsibble.

Usage

# S3 method for ESN
fitted(object, ...)

Value

Fitted values extracted from the object.

Arguments

object

An object of class mdl_df, containing an ESN model.

...

Currently not in use.

Examples

Run this code
library(tsibble)
library(fable)
AirPassengers %>%
as_tsibble() %>%
model("ESN" = ESN(value)) %>%
fitted()

Run the code above in your browser using DataLab