mixture,dph,dph-method {matrixdist} | R Documentation |
Mixture method for phase-type distributions
Description
Mixture method for phase-type distributions
Usage
## S4 method for signature 'dph,dph'
mixture(x1, x2, prob)
Arguments
x1 |
An object of class dph. |
x2 |
An object of class dph. |
prob |
Probability for first object. |
Value
An object of class dph.
Examples
dph1 <- dph(structure = "general", dimension = 3)
dph2 <- dph(structure = "general", dimension = 5)
dph_mix <- mixture(dph1, dph2, 0.5)
dph_mix
[Package matrixdist version 1.1.9 Index]