Learn R Programming

matrixdist (version 1.1.2)

maximum,iph,iph-method: Maximum Method for inhomogeneous phase type distributions

Description

Maximum Method for inhomogeneous phase type distributions

Usage

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

Arguments

x1

an object of class '>iph.

x2

an object of class '>iph.

Value

An object of class '>iph.

Examples

Run this code
# NOT RUN {
iph1 <- iph(ph(structure = "general", dimension = 3), gfun = "weibull", gfun_pars = 2)
iph2 <- iph(ph(structure = "gcoxian", dimension = 5), gfun = "weibull", gfun_pars = 2)
iph_min <- maximum(iph1, iph2)
iph_min
# }

Run the code above in your browser using DataLab