powered by
Constructor Function for phase type distributions
ph(alpha = NULL, S = NULL, structure = NULL, dimension = 3)
a probability vector.
a sub-intensity matrix.
a valid ph structure ("general", "coxian", "hyperexponential", "gcoxian", "gerlang").
the dimension of the ph structure (if structure is provided).
An object of class '>ph.
# NOT RUN { ph(structure = "gcoxian", dim = 5) ph(alpha = c(.5, .5), S = matrix(c(-1, .5, .5, -1), 2, 2)) # }
Run the code above in your browser using DataLab