dph {matrixdist} | R Documentation |
Constructor function for discrete phase-type distributions
Description
Constructor function for discrete phase-type distributions
Usage
dph(alpha = NULL, S = NULL, structure = NULL, dimension = 3)
Arguments
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). |
Value
An object of class dph.
Examples
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))
[Package matrixdist version 1.1.9 Index]