On Fri, Nov 21, 2008 at 1:27 AM, A Ezhil <[EMAIL PROTECTED]> wrote:
> I have a matrix of size 10000 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 also try rcorr(), library(Hmisc).
Liviu


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to