iph: Constructor function for inhomogeneous phase-type...

View source: R/2.iph.R

iphR Documentation

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

iph(ph(structure = "coxian", dimension = 4), gfun = "pareto", gfun_pars = 3)

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.