print.ocf {ocf} | R Documentation |
Print Method for ocf Objects
Description
Prints an ocf
object.
Usage
## S3 method for class 'ocf'
print(x, ...)
Arguments
x |
An |
... |
Further arguments passed to or from other methods. |
Value
Prints an ocf
object.
Author(s)
Riccardo Di Francesco
See Also
Examples
## Load data from orf package.
set.seed(1986)
library(orf)
data(odata)
odata <- odata[1:200, ] # Subset to reduce elapsed time.
y <- as.numeric(odata[, 1])
X <- as.matrix(odata[, -1])
## Fit ocf.
forests <- ocf(y, X)
## Print.
print(forests)
[Package ocf version 1.0.0 Index]