G'day Dave,

On Tue, 20 Mar 2007 14:59:38 +0000
Dave Ewart <[EMAIL PROTECTED]> wrote:

> All help/suggestions/appreciated!

The calculations are done in floating point arithmetic, not integer
arithmetic. From the help page on `choose' one might already guess
so much, but reading "R-2.4.1/src/nmath/choose.c" definitely confirms
this fact.

Thus, your problem is covered by FAQ 7.31:

http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f

HTH.

Cheers,

        Berwin

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to