[R] Clean up biplot resulting from princomp()

David L Carlson dcarlson at tamu.edu
Mon Feb 11 21:56:32 CET 2013


?biplot

set.seed(42)
pcout <- princomp(matrix(rnorm(1000), 100, 10))
biplot(pcout)
biplot(pcout, xlabs=rep(".", dim(pcout$scores)[1])) # small symbol
biplot(pcout, xlabs=rep("", dim(pcout$scores)[1])) # no symbol

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of mtb954 at gmail.com
> Sent: Monday, February 11, 2013 2:28 PM
> To: r-help at r-project.org
> Subject: [R] Clean up biplot resulting from princomp()
> 
> Dear R-helpers,
> 
> The vectors in my biplot are completely obscured by the ~1400 labels R
> is
> printing on my biplot. I don't really care about the labels. How can I
> make
> the biplot without the annoying labels?
> 
> See attached, if that helps you see my problem.
> 
> Many thanks,
> 
> Mark Na



More information about the R-help mailing list