Learn R Programming

matrixdist (version 1.1.2)

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)

Arguments

x1

an object of class '>ph.

x2

an object of class '>ph.

Value

An object of class '>ph.

Examples

Run this code
# NOT RUN {
ph1 <- ph(structure = "general", dimension = 3)
ph2 <- ph(structure = "gcoxian", dimension = 5)
ph_min <- minimum(ph1, ph2)
ph_min
# }

Run the code above in your browser using DataLab