[R] Incomplete Gamma function
r.hankin at noc.soton.ac.uk
Fri Aug 31 14:32:15 CEST 2007
lgamma() gives the log of the gamma function.
You need gamma_inc() of the gsl package, a wrapper for the
On 31 Aug 2007, at 00:29, poolloopus at yahoo.com wrote:
> I am trying to evaluate an Incomplete gamma function
> in R. Library Zipfr gives the Igamma function. From
> Mathematica, I have:
> "Gamma[a, z] is the incomplete gamma function."
> In: Gamma[9,11.1]
> Out: 9000.5
> Trying the same in R, I get
>  31319.5
>  1300998
> I know I have to understand the theory and the math
> behind it rather than just ask for help, but while I
> am trying to do that (and only taking baby steps, I
> must admit), I was hoping someone could help me out.
> Got a little couch potato?
> Check out fun summer activities for kids.
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-
> and provide commented, minimal, self-contained, reproducible code.
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
More information about the R-help