powered by
Simulation method for inhomogeneous phase-type distributions
# S4 method for iph sim(x, n = 1000)
A realization of independent and identically distributed inhomogeneous phase-type variables.
An object of class iph.
An integer of length of realization.
obj <- iph(ph(structure = "general"), gfun = "lognormal", gfun_pars = 2) sim(obj, n = 100)
Run the code above in your browser using DataLab