print.morf: Print Method for morf Objects

View source: R/generic-s3.R

print.morfR Documentation

Print Method for morf Objects

Description

Prints an morf object.

Usage

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

Arguments

x

An morf object.

...

Further arguments passed to or from other methods.

Value

Prints an morf object.

Author(s)

Riccardo Di Francesco

See Also

morf

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 morf.
forests <- morf(y, X)

## Print.
print(forests)


morf documentation built on March 31, 2023, 8:14 p.m.