get_custom_palette | R Documentation |
Colors palettes for each option (mode, direction, segment_name, weekday, hour)
get_custom_palette(segments)
segments |
Character vectors. Segments name of the dataframe. |
list of color palettes (named vector) for each option (mode, direction, segment_name, weekday, hour)
segments <- c('Route1', 'Route2')
get_custom_palette(segments)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.