[R] Stats package

Jason Skelton jps at sanger.ac.uk
Thu May 27 12:34:24 CEST 2004


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 Skelton
Pathogen Microarrays
Wellcome Trust Sanger Institute
CB10 1SA

Tel +44(0)1223 834244 Ext 7123
Fax +44(0)1223 494919

More information about the R-help mailing list