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