powered by
Sum method for phase-type distributions
# S4 method for ph,ph +(e1, e2)
An object of class ph.
ph1 <- ph(structure = "general", dimension = 3) ph2 <- ph(structure = "gcoxian", dimension = 5) ph_sum <- ph1 + ph2 ph_sum
Run the code above in your browser using DataLab