powered by
Density, distribution function, quantile function and random generation for the weibull distribution with parameters shape and scale.
dweibull(x, shape = 1, scale = 1, log = FALSE)pweibull(q, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)qweibull(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)rweibull(n, shape = 1, scale = 1)
pweibull(q, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)
qweibull(p, shape = 1, scale = 1, lower.tail = TRUE, log.p = FALSE)
rweibull(n, shape = 1, scale = 1)
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::dweibull()
# NOT RUN { x <- seq(0.01, 5, by = 0.01) plot(x, dweibull(x), type = "l") # }
Run the code above in your browser using DataLab