Learn R Programming

echos (version 1.0.3)

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.

See Also

Other base functions: forecast_esn(), is.esn(), is.tune_esn(), plot.esn(), plot.forecast_esn(), plot.tune_esn(), print.esn(), summary.esn(), summary.tune_esn(), train_esn(), tune_esn()

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