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