+,ph,ph-method {matrixdist} | R Documentation |
Sum method for phase-type distributions
Description
Sum method for phase-type distributions
Usage
## S4 method for signature 'ph,ph'
e1 + e2
Arguments
e1 |
An object of class ph. |
e2 |
An object of class ph. |
Value
An object of class ph.
Examples
ph1 <- ph(structure = "general", dimension = 3)
ph2 <- ph(structure = "gcoxian", dimension = 5)
ph_sum <- ph1 + ph2
ph_sum
[Package matrixdist version 1.1.9 Index]