scoresplot: 2D Graph of the scores

Description Usage Arguments Details Author(s) Examples

Description

Generates a 2-dimensional graph of the scores for both mvdareg and mvdapca objects.

Usage

1
2
scoresplot(object, comps = c(1, 2), alphas = c(.95, .99), 
           segments = 51)

Arguments

object

an object of class mvdareg, i.e. plsFit.

comps

a vector or length 2 corresponding to the number of components to include.

alphas

draw elliptical contours at these confidence levels.

segments

number of line-segments used to draw ellipse.

Details

scoresplot is used to extract a 2D graphical summary of the scores of PLS and PCA models.

Author(s)

Nelson Lee Afanador (nelson.afanador@mvdalab.com)

Examples

1
2
3
4
5
6
data(Penta)
## Number of bootstraps set to 500 to demonstrate flexibility
## Use a minimum of 1000 (default) for results that support bootstraping
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], 
               ncomp = 2, validation = "oob", boots = 500)
scoresplot(mod1, comp = c(1, 2))


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

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

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

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