This function decodes the (most likely) underlying hidden state sequence by applying the Viterbi algorithm.

## Examples

```
data(dax_model_3t)
decode_states(dax_model_3t)
#> Decoded states
#> fHMM fitted model:
#> * total estimation time: 7 mins
#> * accepted runs: 21 of 100
#> * log-likelihood: 16913.33
```