DelayedWeibull | R Documentation |
Density, distribution function, quantile function and random generation for the delayed Weibull distribution with parameters as in the Weibull distribution functions in R's stats-package, namely:
delay
shape
scale
(inverse of rate)
dweib_delayed(x, delay, shape, scale = 1, ...)
pweib_delayed(q, delay, shape, scale = 1, ...)
qweib_delayed(p, delay, shape, scale = 1, ...)
rweib_delayed(n, delay, shape, scale = 1)
x |
A numeric vector of values for which to get the density. |
delay |
numeric. The delay, must be non-negative. |
shape |
numeric. Shape parameter, must be positive. |
scale |
numeric. Scale parameter (inverse of rate), must be positive. |
... |
further arguments are passed on to the underlying non-delayed function, e.g., |
q |
A numeric vector of quantile values. |
p |
A numeric vector of probabilities. |
n |
integer. Number of random observations requested. |
Additional arguments are forwarded via ...
to the underlying functions of the exponential distribution in the stats-package.
The numerical arguments other than n
are recycled to the length of the result. Only the first elements of the logical arguments are used.
dweib_delayed
gives the density, pweib_delayed
gives the distribution function, qweib_delayed
gives the quantile function,
and rweib_delayed
generates a pseudo-random sample from the delayed Weibull distribution.
The length of the result is determined by n
for rweib_delayed
, and is the maximum of the lengths of the numerical arguments for the other functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.