powered by
Plot cv.enspls object
# S3 method for cv.enspls plot(x, xlim = NULL, ylim = NULL, alpha = 0.8, main = NULL, ...)
An object of class cv.enspls.
cv.enspls
x Vector of length 2 - x axis limits of the plot.
y Vector of length 2 - y axis limits of the plot.
An alpha transparency value for points, a real number in (0, 1].
Plot title, not used currently.
Additional graphical parameters, not used currently.
See cv.enspls for cross-validation of ensemble sparse partial least squares regression models.
# 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) plot(cvfit) # }
Run the code above in your browser using DataLab