The following functions are available in R:
gamma
to compute gamma functiondigamma
to compute derivative of log gamma functionpgamma
to compute incomplete gamma function- ? to compute derivative of log incomplete gamma function
I'm wonder what function can compute the derivative of log incomplete gamma function. I noticed the gsl
package has a function gamma_inc
but not sure how to compute the derivative of the log of this function.
If no function exists, is there a simple way to approximate this derivative in R
?