R/HMM_plots.R
plot_states.Rd
This function plots the states of an autoregressive HMM decoded by the Viterbi algorithm.
plot_states(states, names = "none", title = TRUE)
Vector of states (natural numbers, range 1-N).
optional, specifies the names of the states. If "none", state 1-N will be used.
bool, indicator if the plot should have a title.