powered by
Generates a sample of size n from a phase-type distribution with parameters alpha and S.
n
alpha
S
rphasetype(n, alpha, S)
Simulated sample.
Sample size.
Vector of initial probabilities.
Sub-intensity matrix.