[R] correlation
    chr.schulz@email.de 
    chr.schulz at email.de
       
    Thu Aug 22 07:24:39 CEST 2002
    
    
  
IMHO cov ist the covarriance and cor is the correlation !
And for your row problem it is possible  transpose your matrix !?
 cor(t(yourMatrix),use="pairwise.complete.obs")
regards,Christian
Laurence Richard schrieb:
Dear All,
I have a file (a matrix) on which I have to compute the correlations.
The function "cov" compute the correlations
between the columns of a matrix, but I want to compute the correlations
between the raws.
Can somebody say to me how I can carry out that?
Thanks
Laurence
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
    
    
More information about the R-help
mailing list