[R] median of gamma distribution
(Ted Harding)
Ted.Harding at nessie.mcc.ac.uk
Fri Jun 30 17:53:19 CEST 2006
On 30-Jun-06 Philip He wrote:
> Doese anyone know a R function to find the median of a gamma
> distribution?
qgamma will do it. Test:
> -log(0.5)
[1] 0.6931472
> qgamma(0.5,1)
[1] 0.6931472
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 30-Jun-06 Time: 16:53:16
------------------------------ XFMail ------------------------------
More information about the R-help
mailing list