Learn R Programming

lfl (version 1.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 class 'frbe':
print(x, ...)

Arguments

x
An instance of frbe class
...
Unused.

Value

  • None.

Details

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

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(as.ts(train), h=horizon)
  print(f)
  print(test)

Run the code above in your browser using DataLab