powered by
This function decodes the (most likely) underlying hidden state sequence by applying the Viterbi algorithm for global decoding.
decode_states(x, verbose = TRUE)
An object of class fHMM_model with decoded state sequence included.
fHMM_model
An object of class fHMM_model.
Set to TRUE to print progress messages.
TRUE
https://en.wikipedia.org/wiki/Viterbi_algorithm
decode_states(dax_model_3t) plot(dax_model_3t, type = "ts")
Run the code above in your browser using DataLab