Rev 7002 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{biplot}\title{Biplot of Multivariate Data}\usage{biplot(x, \dots)biplot.default(x, y, var.axes = TRUE, col, cex = rep(par("cex"), 2),xlabs = NULL, ylabs = NULL, expand = 1,xlim = NULL, ylim = NULL, arrow.len = 0.1, \dots)}\alias{biplot}\alias{biplot.default}\arguments{\item{x}{The \code{biplot}, a fitted object. For \code{biplot.default},the first set of points (a two-column matrix), usually associatedwith observations.}\item{y}{The second set of points (a two-column matrix), usually associatedwith variables.}\item{var.axes}{If \code{TRUE} the second set of points have arrowsrepresenting them as (unscaled) axes.}\item{col}{A vector of length 2 giving the colours for the first andsecond set of points respectively (and the corresponding axes). If asingle colour is specified it will be used for both sets.}\item{cex}{The character expansion factor used for labelling thepoints. The labels can be of different sizes for the two sets bysupplying a vector of length two.}\item{xlabs}{A vector of character strings to label the first set ofpoints: the default is to use the row dimname of \code{x}, or\code{1:n} is the dimname is \code{NULL}.}\item{ylabs}{A vector of character strings to label the second set ofpoints: the default is to use the row dimname of \code{y}, or\code{1:n} is the dimname is \code{NULL}.}\item{expand}{An expansion factor to apply when plotting the second setof points relative to the first. This can be used to get the two setson to a physically comparable scale.}\item{arrow.len}{The length of the arrow heads on the axes plotted in\code{var.axes} is true. The arrow head can be suppressed by\code{arrow.len = 0}.}}\description{Plot a biplot on the current graphics device.}\details{A biplot is plot which aims to represent both the observations andvariables of a matrix of multivariate data on the same plot. There aremany variations on biplots (see the references) and perhaps the mostwidely used one is implemented by \code{\link{biplot.princomp}}.The function \code{biplot.default} merely provides theunderlying code to plot two sets of variables on the same figure.Graphical parameters can also be given to \code{biplot}.}\section{Side Effects}{a plot is produced on the current graphics device.}\references{K. R. Gabriel (1971). The biplot graphical display of matrices withapplication to principal component analysis. \emph{Biometrika}\bold{58}, 453-467.J.C. Gower and D. J. Hand (1996). \emph{Biplots}. Chapman & Hall.}\author{B.D. Ripley}\seealso{\code{\link{biplot.princomp}}, also for examples.}\keyword{hplot}\keyword{multivariate}