gmmpp | R Documentation |
Create an instance of GMMPP
gmmpp(size, alpha, D0, D1)
size |
An integer for the number of phases |
alpha |
A vector of initial probability |
D0 |
An infinitesimal generator without arrivals |
D1 |
An infinitesimal generator with arrivals |
An instance of GMMPP
This function can omit several patterns of arguments. For example, map(5)
omit the arguments alpha
, Q
and xi
. In this case, the default values are
assigned to them.
## create a map (full matrix) with 5 phases (param1 <- gmmpp(5)) ## create a map with specific parameters (param2 <- gmmpp(alpha=c(1,0,0), D0=rbind(c(-4,2,0),c(2,-5,1),c(1,0,-1)), D1=rbind(c(2,0,0),c(0,2,0),c(0,0,0))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.