The Weibull (density) function is defined as $$h(x) = \bigl(\frac{k}{\lambda}\bigr) {\bigl( \frac{x}{\lambda} \bigr)}^{k-1} e^{-(x/\lambda)^k}$$ with \(k, \lambda \in (0, +\infty)\).
weibull(k, lambda = 1)
The Weibull density function dweibull
with shape parameter k
and scale parameter lambda
, see dweibull
.
A C++ version of this function is available. See vignette('IBMPopSim_cpp')
for more details.