plot.cv.enpls | R Documentation |
Plot cv.enpls object
## S3 method for class 'cv.enpls'
plot(x, xlim = NULL, ylim = NULL, alpha = 0.8, main = NULL, ...)
x |
An object of class |
xlim |
x Vector of length 2 - x axis limits of the plot. |
ylim |
y Vector of length 2 - y axis limits of the plot. |
alpha |
An alpha transparency value for points, a real number in (0, 1]. |
main |
Plot title, not used currently. |
... |
Additional graphical parameters, not used currently. |
Nan Xiao <https://nanx.me>
See cv.enpls
for cross-validation of
ensemble partial least squares regression models.
data("alkanes")
x <- alkanes$x
y <- alkanes$y
set.seed(42)
cvfit <- cv.enpls(x, y, reptimes = 10)
plot(cvfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.