Description Usage Arguments Value
This function generates a t.p.m. of a HMM that approximates a HSMM (see Langrock and Zucchini, 2011)
1 | gen.Gamma(m, params, PDFs, CDFs)
|
m |
vector of length nstates indicating the number of states to be in each state aggregate (see Langrock and Zuchinni 2011). |
params |
A list of length ndist+1 containing matrices of starting parameter values. If nstates=2, the first element of the list must be the starting values for the dwell time distribution. If nstates>2, the first element must be the starting values for t.p.m., which must have 0's on the diagonal and rowSums=1. |
PDFs |
A list of PDFs for the ndist distributions. |
CDFs |
A list of CDFs for the ndist distributions. |
A vector of shifted negative binomial pdf values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.