dph | R Documentation |
Constructor function for discrete phase-type distributions
dph(alpha = NULL, S = NULL, structure = NULL, dimension = 3)
alpha |
A probability vector. |
S |
A sub-transition matrix. |
structure |
A valid dph structure: |
dimension |
The dimension of the dph structure (if structure is provided). |
An object of class dph.
dph(structure = "general", dim = 5)
dph(alpha = c(0.5, 0.5), S = matrix(c(0.1, 0.5, 0.5, 0.2), 2, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.