riph | R Documentation |
Generates a sample of size n
from an inhomogeneous phase-type
distribution with parameters alpha
, S
and beta
.
riph(n, dist_type, alpha, S, beta)
n |
Sample size. |
dist_type |
Type of IPH. |
alpha |
Initial probabilities. |
S |
Sub-intensity matrix. |
beta |
Parameter of the transformation. |
The simulated sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.