is.forecast_esn {echos}R Documentation

Checks if object is of class "forecast_esn"

Description

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

Usage

is.forecast_esn(object)

Arguments

object

object to be tested.

Value

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

Examples

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


[Package echos version 1.0.2 Index]