[R] lgamma(-0.8)=?

Paul Y. Peng ypeng at math.mun.ca
Sun Dec 22 03:55:03 CET 2002


Dear R users:

I wonder anyone is aware of such a thing from lgamma()

> lgamma(-0.8)
[1] 1.747207

I thought it should be NA as in S-PLUS. Both R-1.3.1 and R-1.5.1
report this result. I don't have the latest R-1.6.1 so I don't
know whether this is corrected or not.

Happy holidays,
Paul.




More information about the R-help mailing list