Learn R Programming

matrixdist (version 1.1.2)

iph: Constructor Function for inhomogeneous phase type distributions

Description

Constructor Function for inhomogeneous phase type distributions

Usage

iph(
  ph = NULL,
  gfun = NULL,
  gfun_pars = NULL,
  alpha = NULL,
  S = NULL,
  structure = NULL,
  dimension = 3,
  scale = 1
)

Arguments

ph

An object of class '>ph.

gfun

inhomogeneity transform

gfun_pars

the parameters of the inhomogeneity function

alpha

a probability vector.

S

a sub-intensity matrix.

structure

a valid ph structure

dimension

the dimension of the ph structure (if provided)

scale

scale

Value

An object of class '>iph.

Examples

Run this code
# NOT RUN {
iph(ph(structure = "coxian", dimension = 4), gfun = "pareto", gfun_pars = 3)
# }

Run the code above in your browser using DataLab