Re: [R] The gamma function and infinity

From: Dietrich Trenkler <Dietrich.Trenkler_at_uni-osnabrueck.de>
Date: Tue 06 Dec 2005 - 03:13:45 EST

Florent Bresson schrieb:

>I have to calculate some formula like:
>
>gamma(x)/(gamma(x+y)
>
>and I observed that for relatively big values of x, R
>returns infinity and so cannot compute the formula. Is
>it possible to force R to give the real value of
>gamma(x) instead of Inf ?
>
>thanks
>
>______________________________________________
>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
>
>
>
Have a look at lgamma.

hth

D. Trenkler

-- 
Dietrich Trenkler c/o Universitaet Osnabrueck 
Rolandstr. 8; D-49069 Osnabrueck, Germany    
email: Dietrich.Trenkler@Uni-Osnabrueck.de

______________________________________________
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
Received on Tue Dec 06 03:34:31 2005

This archive was generated by hypermail 2.1.8 : Tue 06 Dec 2005 - 04:25:56 EST