Description Usage Arguments Value Examples
This function generates sequence from a MHMM model
1 2 3 4 |
n |
numeric, number of subjects. |
nbT |
numeric, length of the sequence. |
A |
list, matrices of the transition probabilities per class |
delta |
numeric, proportions of the classes. |
a |
numeric, shapes of the gamma distributions. |
b |
numeric, rates of the gamma distributions. |
eps |
numeric, proportions of the zero-inflated in the emission laws. |
Returns a list of sequences.
1 2 | ech <- rdata.mhmm(25, 10)
res <- mhmm(ech$y, K = 2, M = 4, nbcores = 1, nbinit = 5, iterSmall = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.