mixture-ph-ph-method: Mixture method for phase-type distributions

mixture,ph,ph-methodR Documentation

Mixture method for phase-type distributions

Description

Mixture method for phase-type distributions

Usage

## S4 method for signature 'ph,ph'
mixture(x1, x2, prob)

Arguments

x1

An object of class ph.

x2

An object of class ph.

prob

Probability for first object.

Value

An object of class ph.

Examples

ph1 <- ph(structure = "general", dimension = 3)
ph2 <- ph(structure = "gcoxian", dimension = 5)
ph_mix <- mixture(ph1, ph2, 0.5)
ph_mix

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