Re: [R] Stats package

About this list Date view Thread view Subject view Author view Attachment view

From: Wolski (wolski@molgen.mpg.de)
Date: Thu 27 May 2004 - 20:46:00 EST


Message-id: <200405271246000890.00FC0B99@mail.math.fu-berlin.de>

Hi

cor(t(matrix))
t=Transpose matrix
Eryk

*********** REPLY SEPARATOR ***********

On 5/27/2004 at 11:34 AM Jason Skelton wrote:

>Hi
>
>The cor function in the stats package calculates the correlation between
>columns of data, does anyone know if it is at all possible to calculate
>the correlation between rows instead ?
>Or is there an appropriate package or function that is more appropriate
>I'd like to calculate spearman & pearson correlations between rows.
>
>Many thanks
>
>Jason
>
>
>
>--
>--------------------------------
>Jason Skelton
>Pathogen Microarrays
>Wellcome Trust Sanger Institute
>Hinxton
>Cambridge
>CB10 1SA
>
>Tel +44(0)1223 834244 Ext 7123
>Fax +44(0)1223 494919
>
>______________________________________________
>R-help@stat.math.ethz.ch mailing list
>https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Dipl. bio-chem. Eryk Witold Wolski @ MPI-Moleculare Genetic
Ihnestrasse 63-73 14195 Berlin 'v'
tel: 0049-30-83875219 / \
mail: wolski@molgen.mpg.de ---W-W---- http://www.molgen.mpg.de/~wolski

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:13 EST