[R] cor vs cor.test

Michael Grant Michael.Grant at Colorado.EDU
Wed May 25 22:16:52 CEST 2005


Using Windows System, R 2.1.0

d is a data frame, 48 rows, 10 columns
cor(d) works properly providing all pairwise Pearson correlation
coefficients among columns
cor.test(d) gives error message "Error in cor.test.default(d) : argument
"y" is missing, with no default"

Why?

Thanks,
MCG




More information about the R-help mailing list