powered by
Generates a 2-dimensional graph of the scores for both mvdareg and mvdapca objects.
mvdareg
mvdapca
scoresplot(object, comps = c(1, 2), alphas = c(.95, .99), segments = 51, verbose = FALSE)
an object of class mvdareg, i.e. plsFit.
plsFit
a vector or length 2 corresponding to the number of components to include.
draw elliptical contours at these confidence levels.
number of line-segments used to draw ellipse.
output results as a data frame
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
scoresplot is used to extract a 2D graphical summary of the scores of PLS and PCA models.
scoresplot
data(Penta) mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1], ncomp = 2, validation = "loo") scoresplot(mod1, comp = c(1, 2))
Run the code above in your browser using DataLab