Re: [R] pearson correlation matrix

2016-02-09 Thread S Ellison
> -Original Message- > > Assuming your dataset is in a matrix you want to transpose it. So you > > can go t(mesdonnees) and then call cor on that. > > ok, it will still make sense ? If the idea does not make sense before you do it, it probably won't make more sense afterwards ... But

Re: [R] pearson correlation matrix

2016-02-05 Thread Michael Dewey
On 05/02/2016 17:10, emmanuelle morin wrote: ok, it will still make sense ? Whether it makes sense to correlate the people rather than the variables depends on the underlying science which (a) we do not know, and (b) is not really an R question. Le 05/02/2016 15:31, Michael Dewey a

Re: [R] pearson correlation matrix

2016-02-05 Thread emmanuelle morin
ok, it will still make sense ? Le 05/02/2016 15:31, Michael Dewey a écrit : Assuming your dataset is in a matrix you want to transpose it. So you can go t(mesdonnees) and then call cor on that. On 05/02/2016 14:06, emmanuelle morin wrote: Hello, I have a set of 12 individuals with thousands

[R] pearson correlation matrix

2016-02-05 Thread emmanuelle morin
Hello, I have a set of 12 individuals with thousands of variables measured. I understand that when I'm using the cor() function on my matrix I'm calculating the correlation between the different variables according to their values for the different individuals. What I'm willing to do is to

Re: [R] pearson correlation matrix

2016-02-05 Thread David L Carlson
-project.org] On Behalf Of emmanuelle morin Sent: Friday, February 5, 2016 8:07 AM To: r-help@r-project.org Subject: [R] pearson correlation matrix Hello, I have a set of 12 individuals with thousands of variables measured. I understand that when I'm using the cor() function on my matrix I'm calculating

Re: [R] pearson correlation matrix

2016-02-05 Thread Michael Dewey
Assuming your dataset is in a matrix you want to transpose it. So you can go t(mesdonnees) and then call cor on that. On 05/02/2016 14:06, emmanuelle morin wrote: Hello, I have a set of 12 individuals with thousands of variables measured. I understand that when I'm using the cor() function on

[R] Pearson correlation matrix heatmap

2010-04-05 Thread Bill Hyman
Hi all, Does any one know how to make Pearson correlation matrix heatmap in R? The heatmap is a square with highly correlated elements clustered together. And the heatmap matrix is symmetric with respect to the diagonal line. Many thanks for your help! Bill