plus-ph-ph-method: Sum method for phase-type distributions

+,ph,ph-methodR 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

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.