Usage
dGamma(x, a=1, b=1, log=FALSE)
pGamma(x, a=1, b=1, log.p=FALSE, lower.tail=TRUE)
varGamma(p, a=1, b=1, log.p=FALSE, lower.tail=TRUE)
esGamma(p, a=1, b=1)
Arguments
x
scaler or vector of values at which the pdf or cdf needs to be computed
p
scaler or vector of values at which the value at risk or expected shortfall needs to be computed
b
the value of the scale parameter, must be positive, the default is 1
a
the value of the shape parameter, must be positive, the default is 1
log
if TRUE then log(pdf) are returned
log.p
if TRUE then log(cdf) are returned and quantiles are computed for exp(p)
lower.tail
if FALSE then 1-cdf are returned and quantiles are computed for 1-p