Skip to content

Pairwise correlation

3 messages · R. Michael Weylandt, muzz56

#
I think something like this should do it, but I can't test without data:

rownames(mydata) <- mydata[,1] # Put the elements in the first column
as rownames
mydata <- mydata[,-1] # drop the things that are now rownames

Michael
On Thu, Nov 17, 2011 at 9:23 AM, Musa Hassan <musahass at gmail.com> wrote:
#
I can't see how it's stored like that and the email servers garble it
up. Use dput() to create a plain text representation and paste that
back in.

Thanks,
Michael
On Thu, Nov 17, 2011 at 9:37 AM, muzz56 <musahass at gmail.com> wrote: