Learn R Programming

matrixdist (version 1.1.9)

maximum,ph,ph-method: Maximum method for phase-type distributions

Description

Maximum method for phase-type distributions

Usage

# S4 method for ph,ph
maximum(x1, x2)

Value

An object of class ph.

Arguments

x1

An object of class ph.

x2

An object of class ph.

Examples

Run this code
ph1 <- ph(structure = "general", dimension = 3)
ph2 <- ph(structure = "gcoxian", dimension = 5)
ph_max <- maximum(ph1, ph2)
ph_max

Run the code above in your browser using DataLab