View source: R/calcGammaPDFs.R
pdf_gamma | R Documentation |
Function to evaluate a gamma pdf.
pdf_gamma(x, alpha, theta)
x |
|
alpha |
|
theta |
|
The underlying gamma pdf (pdf_gamma) is defined as
pdf(x) = \frac{1}{\Gamma(\alpha) \theta^\alpha} x^(\alpha-1) e^{-\frac{x}{\theta}}
where \alpha
(the shape parameter) is related to the mean \mu
by
\alpha = \frac{\mu}{\theta}
vector of values of the gamma pdf evaluated at x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.