Plot a data vector, colored with regard to the Viterbi decoded states.
Usage
plot_decoded_data(
data,
states,
col,
name = "none",
title = "none",
legend = TRUE
)
Arguments
- data
Data vector to be plotted.
- states
Vector of decoded states.
- col
Color of the states.
- name
optional, y-axis label, if "none" than "data".
- title
optional, title of the plot, if "none", then no title.
- legend
optional, bool, specifies if there should be a legend.