[Rd] Something strange in cor.test in R-1.8.0 (PR#4718)

Duncan Murdoch dmurdoch at pair.com
Wed Oct 22 14:17:32 MEST 2003


I've now tried the code 

set.seed(1)
x <- rnorm(50)
y <- rnorm(50)
cor.test(x,y,method="spearman")
x <- rnorm(50)
y <- rnorm(50)
cor.test(x,y,method="spearman")

in r-patched (which gives apparently correct results), and r-devel,
which gives the first result correct, the second incorrect; when
repeated, both are bad.

Duncan Murdoch



More information about the R-devel mailing list