[R] p-values of correlation matrix

thoeb t.hoebinger at gmail.com
Mon Apr 13 16:56:30 CEST 2009


Hello, 
I have a data frame containing several parameters. I want to investigate
pair wise correlations between all of the parameters. For doing so I used
the command cor(data.frame, method=”spearman”), the result is a matrix
giving me the correlation coefficients of each pair, but not the p-values.
Is it possible to get same matrix showing just the p-values instead of the
correlation coefficients? As far as I know the command cor.test just works
for two given vector, but not for a whole data frame.
Thanks!


-----
Tamara Hoebinger
University of Vienna
-- 
View this message in context: http://www.nabble.com/p-values-of-correlation-matrix-tp23023454p23023454.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list