simWbMix {extWeibQuant} | R Documentation |
Same as title.
simWbMix(n, mixParm)
n |
Sample size |
mixParm |
A two-by-three matrix describing the Weibull mixture p, a_1, b_1; 1-p, a_2, b_2 |
A vector of length n
rweibull
, quanWbMix
, emCenWbMix.T1
, emCenWbMix.T2
mmix = rbind(c(0.7, 5, 7),c(0.3, 15, 6)) set.seed(1) y <- sort(simWbMix(300, mmix)) #Generate the data hist(y)