weibull {IBMPopSim} | R Documentation |
Weibull function.
Description
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)
.
Usage
weibull(k, lambda = 1)
Arguments
k |
Shape parameter, a positive real number. |
lambda |
Scale parameter, a positive real number, defaults to 1. |
Details
A C++ version of this function is available. See vignette('IBMPopSim_cpp')
for more details.
Value
The Weibull density function dweibull
with shape parameter k
and scale parameter lambda
, see dweibull
.
See Also
https://en.wikipedia.org/wiki/Weibull_distribution
[Package IBMPopSim version 1.0.0 Index]