Re: [Rd] Problem with dgamma function.

2009-09-25 Thread Peter Dalgaard
Charles Danko wrote: Hi, All, I am getting some funny results trying to use R's built in distribution functions. In R: dgamma(4.775972,1.37697964405418, 0.106516604930466) [1] 0.05585295 dgamma(4.775972,1.37697964405418, 0.106516604930466,TRUE) ### THIS IS JUST WRONG! [1] 0.01710129 log(

[Rd] Problem with dgamma function.

2009-09-25 Thread Charles Danko
Hi, All, I am getting some funny results trying to use R's built in distribution functions. In R: > dgamma(4.775972,1.37697964405418, 0.106516604930466) [1] 0.05585295 > dgamma(4.775972,1.37697964405418, 0.106516604930466,TRUE) ### THIS IS JUST > WRONG! [1] 0.01710129 > log(dgamma(4.775972,1.37