mixture,ph,ph-method | R Documentation |
Mixture method for phase-type distributions
## S4 method for signature 'ph,ph'
mixture(x1, x2, prob)
x1 |
An object of class ph. |
x2 |
An object of class ph. |
prob |
Probability for first object. |
An object of class ph.
ph1 <- ph(structure = "general", dimension = 3)
ph2 <- ph(structure = "gcoxian", dimension = 5)
ph_mix <- mixture(ph1, ph2, 0.5)
ph_mix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.