plot.cv.enpls: Plot cv.enpls object

Description Usage Arguments Author(s) See Also Examples

View source: R/plot.enpls.R

Description

Plot cv.enpls object

Usage

1
2
3
## S3 method for class 'cv.enpls'
plot(x, xlim = NULL, ylim = NULL, alpha = 0.8,
  main = NULL, ...)

Arguments

x

An object of class cv.enpls.

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.

Author(s)

Nan Xiao <https://nanx.me>

See Also

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

Examples

1
2
3
4
5
6
7
data("alkanes")
x = alkanes$x
y = alkanes$y

set.seed(42)
cvfit = cv.enpls(x, y, reptimes = 10)
plot(cvfit)

enpls documentation built on May 19, 2017, 2:29 p.m.

Search within the enpls package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.