[Rd] ansari.test.default: bug in call to uniroot?

2007-03-29 Thread Stephen Weigand
A recent message on ansari.test() prompted me to play with the examples. This doesn't work for me in R version 2.4.1 R ansari.test(rnorm(100), rnorm(100, 0, 2), conf.int = TRUE) Error in uniroot(ab, srange, tol = 1e-04, zq = qnorm(alpha/2, lower = FALSE)) : object ab not found It looks

Re: [Rd] ansari.test.default: bug in call to uniroot?

2007-03-29 Thread Prof Brian Ripley
Yes, thanks, an obvious typo and I will fix shortly. On Thu, 29 Mar 2007, Stephen Weigand wrote: A recent message on ansari.test() prompted me to play with the examples. This doesn't work for me in R version 2.4.1 R ansari.test(rnorm(100), rnorm(100, 0, 2), conf.int = TRUE) Error in