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