# For example, to predict the state sequence of the observations "obs" using
# the HMM "hmm", storing the predicted state sequence to "states", the
# following command could be used:
if (FALSE) {
output <- hmm_viterbi(input=obs, input_model=hmm)
states <- output$output
}
Run the code above in your browser using DataLab