pls (version 1.0-1)

biplot.mvr: Biplots of PLSR and PCR Models.

Description

Biplot method for mvr objects.

Usage

## S3 method for class 'mvr':
biplot(x, comps = 1:2, which = c("x", "y", "scores", "loadings"),
           var.axes = FALSE, xlabs, ylabs, main, ...)

Arguments

Details

biplot.mvr can also be called through the mvr plot method by specifying plottype = "biplot".

See Also

mvr, plot.mvr, biplot.default

Examples

Run this code
data(sensory)
mod <- plsr(Panel ~ Quality, data = sensory)
## These are equivalent
biplot(mod)
plot(mod, plottype = "biplot")

## The four combinations of x and y points:
par(mfrow = c(2,2))
biplot(mod, which = "x") # Default
biplot(mod, which = "y")
biplot(mod, which = "scores")
biplot(mod, which = "loadings")

Run the code above in your browser using DataLab