Re: [R] PCA plot of variable names only

2015-11-30 Thread debra ragland via R-help
Of Boris Steipe Sent: Monday, November 30, 2015 9:01 AM To: debra ragland Cc: r-help Subject: Re: [R] PCA plot of variable names only Please keep communications on list. This is too confused to continue productively. See here: http://adv-r.had.co.nz/Reproducibility.html http://stackover

Re: [R] PCA plot of variable names only

2015-11-30 Thread David L Carlson
77840-4352 -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Boris Steipe Sent: Monday, November 30, 2015 9:01 AM To: debra ragland Cc: r-help Subject: Re: [R] PCA plot of variable names only Please keep communications on list. This is too confused to c

Re: [R] PCA plot of variable names only

2015-11-30 Thread Boris Steipe
Please keep communications on list. This is too confused to continue productively. See here: http://adv-r.had.co.nz/Reproducibility.html http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example ... and please read the posting guide and don't post in HTML. On Nov 3

Re: [R] PCA plot of variable names only

2015-11-30 Thread S Ellison
> Any idea on how to generate such a plot based on this description? One simple way of suppressing the individual points in biplot() is to give the labels a colour of 0. Adapting the biplot.princomp example: biplot(princomp(USArrests), col=c(0,1)) But that retains the point plot axes. If

Re: [R] PCA plot of variable names only

2015-11-30 Thread Boris Steipe
Your description is obscure but the following may get you started. The function prcomp() returns a list in which the matrix x contains the rotated values of your input. Assuming that your "variable names" are the rownames of your input, you can plot them with text(). Something like (untested)