Learn R Programming

echos (version 1.0.2)

is.forecast_esn: Checks if object is of class "forecast_esn"

Description

Returns TRUE if the object is of class "forecast_esn".

Usage

is.forecast_esn(object)

Value

Logical value. If TRUE, the object is of class "forecast_esn".

Arguments

object

object to be tested.

Examples

Run this code
xdata <- as.numeric(AirPassengers)
xmodel <- train_esn(y = xdata)
xfcst <- forecast_esn(xmodel, n_ahead = 12)
is.forecast_esn(xfcst)

Run the code above in your browser using DataLab