Gamma Distribution
Probability density, cumulative distribution, inverse cumulative distribution, random sample and starting values functions.
dgamma(x, shape = 1, scale = 1, log = FALSE) pgamma(q, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE) qgamma(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE) rgamma(n, shape = 1, scale = 1) sgamma(x)
x |
A numeric vector of values. |
shape |
A string of the column in data for the shape aesthetic. |
scale |
scale parameter. |
log |
logical; if TRUE, probabilities p are given as log(p). |
q |
vector of quantiles. |
lower.tail |
logical; if TRUE (default), probabilities are |
log.p |
logical; if TRUE, probabilities p are given as log(p). |
p |
vector of probabilities. |
n |
number of observations. |
A numeric vector.
x <- seq(0.01, 5, by = 0.01) plot(x, dgamma(x), type = "l")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.