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