Learn R Programming

enpls (version 6.1.1)

print.enpls.fit: Print Fitted Ensemble Partial Least Squares Object

Description

Print coefficients of each model in the enpls.fit object.

Usage

# S3 method for enpls.fit
print(x, ...)

Arguments

x

An object of class enpls.fit.

...

Additional parameters for print.

Author

Nan Xiao <https://nanx.me>

See Also

See enpls.fit for fitting ensemble partial least squares regression models.

Examples

Run this code
data("alkanes")
x <- alkanes$x
y <- alkanes$y

set.seed(42)
fit <- enpls.fit(x, y, reptimes = 50)
fit

Run the code above in your browser using DataLab