Skip to contents

Print cv.enspls object.

Usage

# S3 method for cv.enspls
print(x, ...)

Arguments

x

An object of class cv.enspls.

...

Additional parameters for print.

See also

See cv.enspls for cross-validation of ensemble sparse partial least squares regression models.

Author

Nan Xiao <https://nanx.me>

Examples

# This example takes one minute to run
if (FALSE) {
data("logd1k")
x <- logd1k$x
y <- logd1k$y

set.seed(42)
cvfit <- cv.enspls(x, y, reptimes = 10)
print(cvfit)
}