Learn R Programming

lfl (version 2.2.0)

print.frbe: Print an instance of the frbe() class

Description

Format an object of the frbe() class into human readable form and print it to the output.

Usage

# S3 method for frbe
print(x, ...)

Value

None.

Arguments

x

An instance of frbe() class

...

Unused.

Author

Michal Burda

Details

Format an object of the frbe() class into human readable form and print it to the output.

References

Štěpnička, M., Burda, M., Štěpničková, L. Fuzzy Rule Base Ensemble Generated from Data by Linguistic Associations Mining. FUZZY SET SYST. 2015.

See Also

frbe()

Examples

Run this code

  # prepare data (from the forecast package)
  library(forecast)
  horizon <- 10
  train <- wineind[-1 * (length(wineind)-horizon+1):length(wineind)]
  test <- wineind[(length(wineind)-horizon+1):length(wineind)]
  f <- frbe(ts(train, frequency=frequency(wineind)), h=horizon)
  print(f)
  print(test)

Run the code above in your browser using DataLab