Plot Threshold on Speed Chart
Arguments
- plot_speed
List, what the plot_speed function returns.
- selected_speed
Character indicating the selected speed threshold (c("ALL",MORE THAN 40KM/H", "MORE THAN 30KM/H", "MORE THAN 20KM/H", "MORE THAN 10KM/H")).
- state_threshold
Character indicating the state of the threshold ("auto" or "manual").
- threshold
Numeric value representing the manual threshold if state_threshold is "manual".