[R] further to my last email

Cowpertwait, Paul P.S.Cowpertwait at massey.ac.nz
Thu Dec 13 23:48:38 CET 2001


.. the round function seems to get round it (excuse the pun):

> round(gamma(21)/(gamma(6)*gamma(16))) == round(choose(20,5))
[1] TRUE

So I presume the problem is related to gamma being a real function.
However, I'm still not sure why there's a break from TRUE to FALSE for
certain values.  Any comments would be appreciated!

_____________________________________

Paul S.P. Cowpertwait
IIMS, Massey University, Albany, 
Private Bag 102 904 
North Shore Mail Centre
Auckland, NZ
Tel (+64) (9) 443 9799 ext 9488

http://www.massey.ac.nz/~pscowper
_____________________________________
 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list