[R] CDF of a gamma distribution

Rolf Turner r.turner at auckland.ac.nz
Wed Aug 15 00:10:59 CEST 2007


On 15/08/2007, at 9:53 AM, Jake Verschuyl wrote:

> I have some bird flight height data that follows a gamma  
> distribution.  The
> data (x) goes from 0 to 700 meters (n=1055).  The calculated  
> parameters
> calculated from the fitdistr(x) are (shape = 5.1379, rate =  
> 0.017541), and
> therefore the scale (1/rate) = 57.00929.  I would like to calculate  
> the
> cumulative density (or proportion of the curve) of the function at  
> x= 50
> meters.
>
> Is that possible, and are there any functions that will help?

?pgamma

######################################################################
Attention:\ This e-mail message is privileged and confidenti...{{dropped}}



More information about the R-help mailing list