Learn R Programming

enpls (version 5.6)

print.enspls.fit: Print Fitted Ensemble Sparse Partial Least Squares Object

Description

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

Usage

"print"(x, ...)

Arguments

x
An object of class enspls.fit.
...
Additional parameters for print.

See Also

See enspls.fit for fitting ensemble sparse partial least squares regression models.

Examples

Run this code
data("logd1k")
x = logd1k$x
y = logd1k$y

set.seed(42)
fit = enspls.fit(x, y, reptimes = 5, maxcomp = 3,
                 alpha = c(0.3, 0.6, 0.9))
print(fit)

Run the code above in your browser using DataLab