An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110613/c2008331/attachment.pl>
Change Data Point Label in biplot()
2 messages · Bao, Yongjian (GE Healthcare), Brian Ripley
On Mon, 13 Jun 2011, Bao, Yongjian (GE Healthcare) wrote:
I'm a new user of R, and trying to display the result of a PCA data set with biplot(). Biplot() draws the projections of data points to the first two principal axis with a text level (I guess it is the name of the data points). This makes the picture very crowed. I tried to go through R documentation to figure out how to change the data point labels to a symbol, say circle, triangle or cross without text, but the documentation did not say anything about that. I found similar questions in archive of this mailing list but could not find a solution answer. Can anyone help me how to change the data point labels of biplot() to a simple symbol without text?
The help does: see the argument 'xlabs', and also '...' (for whch you could specify a vector for the graphical parameter 'pch').
Thanks Yongjian [[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
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 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595