R-alpha: phyper() woes

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Fri, 25 Apr 1997 14:19:29 +0200


I can also confirm that rhyper(5,200,250,60) never returns (o.k., if
never is anything beyond 5 minutes).

More strikingly,

R> phyper(47, 76, 49, 68)
[1] 1

whereas

Splus> phyper(47, 76, 49, 68)
[1] 0.9883098


(Breaks my fisher.test() ...)

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-