Re: [R] p-values of correlation matrix

2009-04-13 Thread Dimitris Rizopoulos
Have a look at function rcor.test() from package ltm, e.g., library(ltm) mat <- matrix(rnorm(1000), 100, 10, dimnames = list(NULL, LETTERS[1:10])) rcor.test(mat) rcor.test(mat, method = "kendall") rcor.test(mat, method = "spearman") I hope it helps. Best, Dimitris > > Hello, > I have a data f

Re: [R] p-values of correlation matrix

2009-04-13 Thread Chuck Cleland
On 4/13/2009 10:56 AM, thoeb wrote: > 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 c

[R] p-values of correlation matrix

2009-04-13 Thread thoeb
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-value