Re: [R] Calculating correlation for a big matrix

2008-11-20 Thread Liviu Andronic
On Fri, Nov 21, 2008 at 1:27 AM, A Ezhil <[EMAIL PROTECTED]> wrote: > I have a matrix of size 1 x 50. I would like to calculate all possible > pair-wise correlation coefficient (5x10^7 combinations) using cor(). How can > I efficiently calcualte and save the result in a matrix? > You might al

Re: [R] Calculating correlation for a big matrix

2008-11-20 Thread Charles C. Berry
On Thu, 20 Nov 2008, A Ezhil wrote: Dear All, I have a matrix of size 1 x 50. I would like to calculate all possible pair-wise correlation coefficient (5x10^7 combinations) using cor(). How can I efficiently calcualte and save the result in a matrix? By using cor()?? res <- c

[R] Calculating correlation for a big matrix

2008-11-20 Thread A Ezhil
Dear All, I have a matrix of size 1 x 50. I would like to calculate all possible pair-wise correlation coefficient (5x10^7 combinations) using cor(). How can I efficiently calcualte and save the result in a matrix? Thanks in advance. Kind regards, Ezhil __