Skip to contents

Returns TRUE if the object is of class tune_esn.

Usage

is.tune_esn(object)

Arguments

object

object to be tested.

Value

Logical value. If TRUE, the object is of class tune_esn.

Examples

xdata <- as.numeric(AirPassengers)
fit <- tune_esn(
  y = xdata,
  n_ahead = 12,
  n_split = 5,
  alpha = c(0.5, 1),
  rho   = c(1.0),
  tau   = c(0.4),
  inf_crit = "bic"
)
is.tune_esn(fit)
#> [1] TRUE