scoresplot | R Documentation |
Generates a 2-dimensional graph of the scores for both mvdareg
and mvdapca
objects.
scoresplot(object, comps = c(1, 2), alphas = c(.95, .99), segments = 51, verbose = FALSE)
object |
an object of class |
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. |
verbose |
output results as a data frame |
scoresplot
is used to extract a 2D graphical summary of the scores of PLS and PCA models.
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
data(Penta) mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], ncomp = 2, validation = "loo") scoresplot(mod1, comp = c(1, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.