A scaled Viterbi algorithm for allocating clones to one of four underlying states.
A work horse of the fit.model function. It uses a scaled version of the Viterbi algorithm to allocate clones to one of four underlying states as fitted using a heterogeneous HMM.
Viterbi.four(y, BFGS.output, BFGS.trans.mat)
the data to be allocated to states
The output obtained from the find.param.four function
A list of the heterogeneous transition matrices
A vector of numbers indicating to which state clones are allocated to.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.