Learn R Programming

enpls (version 6.1)

print.cv.enspls: Print cv.enspls Object

Description

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.

Examples

Run this code
# NOT RUN {
# This example takes one minute to run
# }
# NOT RUN {
data("logd1k")
x <- logd1k$x
y <- logd1k$y

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

Run the code above in your browser using DataLab