powered by
Mixture method for phase-type distributions
# S4 method for ph,ph mixture(x1, x2, prob)
An object of class ph.
Probability for first object.
ph1 <- ph(structure = "general", dimension = 3) ph2 <- ph(structure = "gcoxian", dimension = 5) ph_mix <- mixture(ph1, ph2, 0.5) ph_mix
Run the code above in your browser using DataLab