powered by
Density, distribution function, quantile function, random generation and starting values for the Gompertz distribution.
dgompertz(x, lscale = 0, lshape = 0, log = FALSE)qgompertz(p, lscale = 0, lshape = 0, lower.tail = TRUE, log.p = FALSE)pgompertz(q, lscale = 0, lshape = 0, lower.tail = TRUE, log.p = FALSE)rgompertz(n, lscale = 0, lshape = 0)sgompertz(x)
qgompertz(p, lscale = 0, lshape = 0, lower.tail = TRUE, log.p = FALSE)
pgompertz(q, lscale = 0, lshape = 0, lower.tail = TRUE, log.p = FALSE)
rgompertz(n, lscale = 0, lshape = 0)
sgompertz(x)
A numeric vector of values.
scale parameter on the log scale.
shape parameter on the log scale.
logical; if TRUE, probabilities p are given as log(p).
vector of probabilities.
logical; if TRUE (default), probabilities are P[X <= x],otherwise, P[X > x].
vector of quantiles.
number of observations.
A numeric vector.
The functions are wrappers on the equivalent VGAM functions that return a zero length numeric vector if x, q or p are zero length.
dgompertz
# NOT RUN { x <- seq(0.01, 5, by = 0.01) plot(x, dgompertz(x), type = "l") # }
Run the code above in your browser using DataLab