random_structure | R Documentation |
Generates random parameters alpha
and S
of a phase-type
distribution of dimension p
with chosen structure.
random_structure(p, structure = "general", scale_factor = 1)
p |
Dimension of the phase-type. |
structure |
Type of structure: "general", "hyperexponential", "gerlang", "coxian" or "gcoxian". |
scale_factor |
A factor that multiplies the sub-intensity matrix. |
Random parameters alpha
and S
of a phase-type.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.