demo/demoMixSim.R

### Test main functions
set.seed(1234)
repeat {
   Q <- MixSim(BarOmega = 0.01, MaxOmega = 0.05, K = 5, p = 7)
   if (Q$fail == 0) break
}

overlap(Pi = Q$Pi, Mu = Q$Mu, S = Q$S)
pdplot(Pi = Q$Pi, Mu = Q$Mu, S = Q$S)

Try the MixSim package in your browser

Any scripts or data that you put into this service are public.

MixSim documentation built on Sept. 8, 2023, 5:07 p.m.