powered by
Colors palettes for each option (mode, direction, segment_name, weekday, hour)
get_custom_palette(segments)
list of color palettes (named vector) for each option (mode, direction, segment_name, weekday, hour)
Character vectors. Segments name of the dataframe.
segments <- c('Route1', 'Route2') get_custom_palette(segments)
Run the code above in your browser using DataLab