pairs.lda {MASS} | R Documentation |
Produce Pairwise Scatterplots from an 'lda' Fit
Description
Pairwise scatterplot of the data on the linear discriminants.
Usage
## S3 method for class 'lda'
pairs(x, labels = colnames(x), panel = panel.lda,
dimen, abbrev = FALSE, ..., cex=0.7, type = c("std", "trellis"))
Arguments
x |
Object of class |
labels |
vector of character strings for labelling the variables. |
panel |
panel function to plot the data in each panel. |
dimen |
The number of linear discriminants to be used for the plot; if this
exceeds the number determined by |
abbrev |
whether the group labels are abbreviated on the plots. If |
... |
additional arguments for |
cex |
graphics parameter |
type |
type of plot. The default is in the style of |
Details
This function is a method for the generic function
pairs()
for class "lda"
.
It can be invoked by calling pairs(x)
for an
object x
of the appropriate class, or directly by
calling pairs.lda(x)
regardless of the
class of the object.
References
Venables, W. N. and Ripley, B. D. (2002) Modern Applied Statistics with S. Fourth edition. Springer.