Skip to contents

Median parameterization of the Weibull RNG.

Usage

rweibull_median(n, mu = 1, k = 1)

Arguments

n

Number of samples, scalar natural number.

mu

Median parameter, mu > 0.

k

Shape parameter, k > 0.

Value

n Weibull distributed samples.

Examples

hist(log(rweibull_median(10000, mu = 2, k = 1)))