Learn R Programming

matrixdist (version 1.1.9)

maximum,dph,dph-method: Maximum method for discrete phase-type distributions

Description

Maximum method for discrete phase-type distributions

Usage

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

Value

An object of class dph.

Arguments

x1

An object of class dph.

x2

An object of class dph.

Examples

Run this code
dph1 <- dph(structure = "general", dimension = 3)
dph2 <- dph(structure = "general", dimension = 5)
dph_max <- maximum(dph1, dph2)
dph_max

Run the code above in your browser using DataLab