Learn R Programming

echos (version 1.0.3)

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

Description

Returns TRUE if the object is of class tune_esn.

Usage

is.tune_esn(object)

Value

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

Arguments

object

object to be tested.

See Also

Other base functions: forecast_esn(), is.esn(), is.forecast_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)
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)

Run the code above in your browser using DataLab