[R] Re: Biplot function of PCA
Prof Brian D Ripley
ripley at stats.ox.ac.uk
Mon Sep 9 10:11:58 CEST 2002
On Mon, 9 Sep 2002, Fboucays wrote:
> I'am using the 'biplot' and 'biplot.pincomp' functions of the 'mva'
> package for my studies.
> The biplot represents both the observations and the variables of a
> matrix of multivariate data on the same plot.
> The observations are represented by their numbers (the line of the data
> matrix), but I would need to change it.
Did you try example(biplot.princomp)? It uses names!
The functions use names if and only if the data are named. All you need to
do is to add the names to your data frame.
> I would like to have the possibility, to represent on a biplot, the
> observations, by their name, or , by the group or the cluster they
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help