[R] number point under-flow
Arne.Muller@aventis.com
Arne.Muller at aventis.com
Wed Feb 4 14:19:24 CET 2004
Hello,
I've come across the following situation in R-1.8.1 (compile + running under
RedHat 7.1):
> phyper(24, 514, 5961-514, 53, lower.tail=T)
[1] 1
> phyper(24, 514, 5961-514, 53, lower.tail=F)
[1] -1.037310e-11
I'd expect the later to be 0 or some very small positive number. Is this a
number under-flow of the calculation? Do you think I'm safe if I just set the
result to 0 in these cases?
kind regards,
Arne
More information about the R-help
mailing list