Re: [R] Howto Compute Pairwise Similarity/Correlation Matrix from aData Frame

2008-06-18 Thread Gundala Viswanath
Dear Dimitris, Thanks so much for the reply. However I got this memory error,when I run it on my data (12.7Mb). Is there a way I can make the code more memory susceptible. My dataset can be found here: http://dpaste.com/57274/plain/ __BEGIN__ > data <- read.table("mydata.txt") > nofsamp <- nc

Re: [R] Howto Compute Pairwise Similarity/Correlation Matrix from aData Frame

2008-06-18 Thread Dimitris Rizopoulos
try this: mat.data <- data.matrix(data) cor(t(mat.data)) I hope it helps. Best, Dimitris Dimitris Rizopoulos Biostatistical Centre School of Public Health Catholic University of Leuven Address: Kapucijnenvoer 35, Leuven, Belgium Tel: +32/(0)16/336899 Fax: +32/(0)16/337015 Web: http://me