[Rd] confint's in t.test

Torsten Hothorn Torsten.Hothorn@rzmail.uni-erlangen.de
Tue, 10 Apr 2001 07:51:21 +0200 (MEST)


> t.test(rnorm(10), rnorm(10), alternative="less")

         Welch Two Sample t-test 

data:  rnorm(10) and rnorm(10) 
t = -2.3628, df = 17.848, p-value = 0.01485 
alternative hypothesis: true difference in means is less than 0 
95 percent confidence interval:
         NA -0.2590752 
        ^^^^

I suppose that is what the prototype does, should one replace it by -Inf,
+ Inf resp. ?

Torsten

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._