[R] Pearson and Spearman correlation coeffcients matrix

Nuno Soares ndsoares at mail.telepac.pt
Sun Jul 3 12:56:59 CEST 2005

Hi everyone,

I've been trying to find a function that outputs the Pearson and/or Spearman
correlation coefficients for several variables with the associated
statistics in one single table/matrix. For what I've been able to understand
the Stats package is only able to compute these coeficients/statistics only
in defined pairs. This becomes time consuming when we want to determine
these measures with, say, 10 variables or more. Does anyone knows a solution
to this?

Kind regards,


More information about the R-help mailing list