biplot.mvr.Rd
Biplot method for mvr
objects.
# S3 method for mvr biplot(x, comps = 1:2, which = c("x", "y", "scores", "loadings"), var.axes = FALSE, xlabs, ylabs, main, ...)
x | an |
---|---|
comps | integer vector of length two. The components to plot. |
which | character. Which matrices to plot. One of |
var.axes | logical. If |
xlabs | either a character vector of labels for the first set of
points, or |
ylabs | either a character vector of labels for the second set of
points, or |
main | character. Title of plot. If missing, a title is
constructed by |
... | Further arguments passed on to |
biplot.mvr
can also be called through the mvr
plot
method by specifying plottype = "biplot"
.
data(oliveoil) mod <- plsr(sensory ~ chemical, data = oliveoil) if (FALSE) { ## 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") }