Learn R Programming

ERPeq (version 0.1.0)

pdfgamma: Probability density function of the Gamma distribution

Description

Probability density function of the Gamma distribution

Usage

pdfgamma(par, x)

Value

return the value of the pdf of the gamma distribution

Arguments

par

parameter vector of the gamma distribution. First parameter is the shape and second is the scale parameter

x

vector of observations or single value

References

Johnson, N. L., Kotz, S. and Balakrishnan, N. (1995) Continuous Univariate Distributions, volume 1, chapter 21. Wiley, New York.

Examples

Run this code
pdfgamma(c(2,3),5)

Run the code above in your browser using DataLab