Description Usage Arguments Details Value Examples
View source: R/built_in_distributions.R
Generates a set of Weibull distributed values.
1 2 3 4 5 6 7 8 9 |
shape |
vector of shape parameters, strictly positive |
scale |
vector of scale parameters, strictly positive |
... |
Unused |
b_scale, B_scale |
alternative definition of scale parameter, cannot be provided with
|
n |
number of observations to generate. The |
.seed |
One of the following:
To extract the random seed from a previously generated set of
values, use |
This function provides alternative definitions for the scale
parameter depending on the user's parametrisation of the Weibull
distribution, with k = shape
.
Using λ = scale
:
F(x) = 1 - exp(-(x/λ)^k)
Using b = b_scale
:
F(x) = 1 - exp(-bx^k)
Using β = B_scale
:
F(x) = 1 - exp(-(β x)^k)
A numeric vector of length n
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.