| plot.mvdareg | R Documentation |
mvdareg and mvdapaca objects.A general plotting function for a mvdareg and mvdapca objects.
## S3 method for class 'mvdareg'
plot(x, plottype = c("PE", "scoresplot", "loadingsplot",
"loadingsplot2D", "T2", "Xresids", "coefsplot", "ap.plot",
"weightsplot", "weightsplot2D", "acfplot"), ...)
x |
an object of class |
plottype |
the desired plot from an object of class |
... |
additional arguments. Currently ignored. |
The following plotting functions are supported:
PE, scoreplot, loadingsplot, loadingsplot2D, T2, Xresids, coefsplot, ap.plot, weightsplot, weightsplot2D, acfplot
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
ncomp = 2, validation = "loo")
plot(mod1, plottype = "scoresplot")
## Not run:
plot(mod1, plottype = "loadingsplot2D")
plot(mod1, plottype = "T2", ncomp = 2, phase = 1, conf = c(.95, .99))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.