powered by
Simulation method for multivariate phase-type distributions
# S4 method for MPHstar sim(x, n = 1000)
A matrix of sample data for each marginal.
An object of class MPHstar.
Desired sample size for each marginal.
obj <- MPHstar(structure = "general") sim(obj, 100)
Run the code above in your browser using DataLab