[R] Error in gamma(delta + (complex(0, 0, 1) * (x - mu))/alpha) : unimplemented complex function

Ben Bolker bbolker at gmail.com
Mon Apr 2 22:41:35 CEST 2012


Guaramy <Guaramy <at> hotmail.com> writes:

> 

 [SNIP]
> i think the problem is the gamma function, does anyone know how to compute
> gamma with imaginary numbers?


  Try lngamma_complex() in the gsl package?

  Ben Bolker



More information about the R-help mailing list