sim,dph-method | R Documentation |
Simulation method for phase-type distributions
## S4 method for signature 'dph'
sim(x, n = 1000)
x |
An object of class dph. |
n |
An integer of length of realization. |
A realization of independent and identically distributed discrete phase-type variables.
obj <- dph(structure = "general")
sim(obj, n = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.