print.ocf: Print Method for ocf Objects

View source: R/generic-s3.R

print.ocfR Documentation

Print Method for ocf Objects

Description

Prints an ocf object.

Usage

## S3 method for class 'ocf'
print(x, ...)

Arguments

x

An ocf object.

...

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. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1080/07474938.2024.2429596")}.

See Also

ocf

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)


ocf documentation built on April 4, 2025, 4:44 a.m.