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