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

sim,ph-methodR Documentation

Simulation method for phase-type distributions

Description

Simulation method for phase-type distributions

Usage

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

Arguments

x

An object of class ph.

n

An integer of length of realization.

Value

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

Examples

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

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