+,ph,ph-method | R Documentation |
Sum method for phase-type distributions
## S4 method for signature 'ph,ph'
e1 + e2
e1 |
An object of class ph. |
e2 |
An object of class ph. |
An object of class ph.
ph1 <- ph(structure = "general", dimension = 3)
ph2 <- ph(structure = "gcoxian", dimension = 5)
ph_sum <- ph1 + ph2
ph_sum
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.