Description Usage Arguments Value Author(s)
A work horse of the fit.model function. It uses a scaled version of the Viterbi algorithm to allocate clones to one of two underlying states as fitted using a heterogeneous HMM.
1 | Viterbi.two(y, BFGS.output, BFGS.trans.mat)
|
y |
the data to be allocated to states |
BFGS.output |
The output obtained from the find.param.two function |
BFGS.trans.mat |
A list of the heterogeneous transition matrices |
A vector of numbers indicating to which state clones are allocated to.
John Marioni
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.