sim-mp-method: Simulation method for univariate phase type mixed Poisson...

sim,mp-methodR Documentation

Simulation method for univariate phase type mixed Poisson models

Description

Simulation method for univariate phase type mixed Poisson models

Usage

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

Arguments

x

An object of class mp.

n

An integer of length of realization.

Value

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

Examples

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

jorgeyslas/phfrailty documentation built on April 17, 2025, 4:11 p.m.