viterbi_algo: Implementation of the Viterbi algorithm
Description
Implementation of the Viterbi algorithm
Usage
viterbi_algo(emisPr, transPr, initPr)
Arguments
emisPr
a matrix of emission probabilities for the considering series.
transPr
a matrix of state transition probabilities.
initPr
a vector specifying initial state probabilities.
Value
paththe most likely path (state sequence).