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

mixture,dph,dph-methodR Documentation

Mixture method for phase-type distributions

Description

Mixture method for phase-type distributions

Usage

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

Arguments

x1

An object of class dph.

x2

An object of class dph.

prob

Probability for first object.

Value

An object of class dph.

Examples

dph1 <- dph(structure = "general", dimension = 3)
dph2 <- dph(structure = "general", dimension = 5)
dph_mix <- mixture(dph1, dph2, 0.5)
dph_mix

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