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