sim-dph-method: Simulation method for phase-type distributions

sim,dph-methodR Documentation

Simulation method for phase-type distributions

Description

Simulation method for phase-type distributions

Usage

## S4 method for signature 'dph'
sim(x, n = 1000)

Arguments

x

An object of class dph.

n

An integer of length of realization.

Value

A realization of independent and identically distributed discrete phase-type variables.

Examples

obj <- dph(structure = "general")
sim(obj, n = 100)

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