Skip to content

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

1 message · Brian Ripley

#
On 23 Oct 2003, Peter Dalgaard wrote:

            
cor.test.default calls the second arg of prho as as.integer(q + 1), but
someone altered the C code (at the last minute before 1.8.0 was frozen) to
*double.

So I think Peter is probably right.