rweibull_KM.RdSample from Weibull distirbution in K&M parametrisation.
rweibull_KM(n, alph, lam)
| n | sample size |
|---|---|
| alph | Shape parameter of weibull distribution. |
| lam | Rate parameter of lambda distirbution. |
n samples from weibull distribution.
set.seed(4321) times <- rweibull_KM(n = 1000, alph = 0.58, lam = 0.19) hist(times, breaks = 30)![]()