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
References
Di Francesco, R. (2025). Ordered Correlation Forest. Econometric Reviews, 1–17. doi:10.1080/07474938.2024.2429596.
See Also
Examples
## Generate synthetic data.
set.seed(1986)
data <- generate_ordered_data(100)
sample <- data$sample
Y <- sample$Y
X <- sample[, -1]
## Fit ocf.
forests <- ocf(Y, X)
## Print.
print(forests)
[Package ocf version 1.0.3 Index]