View source: R/decode_states.R
decode_states | R Documentation |
This function decodes the (most likely) underlying hidden state sequence by applying the Viterbi algorithm for global decoding.
decode_states(x, verbose = TRUE)
x |
An object of class |
verbose |
Set to |
An object of class fHMM_model
with decoded state sequence
included.
https://en.wikipedia.org/wiki/Viterbi_algorithm
decode_states(dax_model_3t)
plot(dax_model_3t, type = "ts")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.