powered by
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)
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)
A numeric vector of values.
A string of the column in data for the shape aesthetic.
scale parameter.
logical; if TRUE, probabilities p are given as log(p).
vector of quantiles.
logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x].
P[X <= x]
P[X > x]
vector of probabilities.
number of observations.
A numeric vector.
stats::dgamma()
# NOT RUN { x <- seq(0.01, 5, by = 0.01) plot(x, dgamma(x), type = "l") # }
Run the code above in your browser using DataLab