plot.mvdareg: General plotting function for 'mvdareg' and 'mvdapaca'...

Description Usage Arguments Details Author(s) Examples

Description

A general plotting function for a mvdareg and mvdapca objects.

Usage

1
2
3
4
## S3 method for class 'mvdareg'
plot(x, plottype = c("PE", "scoresplot", "loadingsplot",
                    "loadingsplot2D", "T2", "Xresids", "coefsplot", "ap.plot",
                    "weightsplot", "weightsplot2D", "acfplot"), ...)

Arguments

x

an object of class "mvdareg", i.e., a fitted model.

plottype

the desired plot from an object of class "mvdareg"

...

additional arguments. Currently ignored.

Details

The following plotting functions are supported:

PE, scoreplot, loadingsplot, loadingsplot2D, T2, Xresids, coefsplot, ap.plot, weightsplot, weightsplot2D, acfplot

Author(s)

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

Examples

1
2
3
4
5
6
7
8
9
data(Penta)
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
               ncomp = 2, validation = "loo")
## Not run: 
plot(mod1, plottype = "scoresplot")
plot(mod1, plottype = "loadingsplot2D")
plot(mod1, plottype = "T2", ncomp = 2, phase = 1, conf = c(.95, .99))

## End(Not run)


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.