| dgamma0 {ADtools} | R Documentation |
The density of the gamma distribution
dgamma0(x, shape, rate, scale = 1/rate, log = FALSE)
x |
vector or matrix of quantiles. If x is a matrix, each row is taken to be a quantile. |
shape |
positive number; the shape parameter. |
rate |
positive number; the rate parameter. |
scale |
positive number; the scale parameter. |
log |
logical; if TRUE, returns the log value. |
n <- 10
x <- rgamma0(n, shape = 1, scale = 5)
dgamma0(x, shape = 1, scale = 5)