print.enspls.fit | R Documentation |
Print coefficients of each model in the enspls.fit object.
## S3 method for class 'enspls.fit'
print(x, ...)
x |
An object of class |
... |
Additional parameters for |
Nan Xiao <https://nanx.me>
See enspls.fit
for fitting ensemble sparse
partial least squares regression models.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.