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