get_graph_subtitles | R Documentation |
Create subtitles for graphics.
get_graph_subtitles(
segments = NULL,
modes = NULL,
directions = NULL,
weekdays = NULL,
hours = NULL
)
segments |
Character vector. Selected road segment to text, no precision if NULL (default). |
modes |
Character vector. Different modes of transportation selected (heavy, car, bike, pedestrian). Default: NULL |
directions |
Character vector. Directions of the traffic (lft, rgt, both) choosen. Default to NULL. |
weekdays |
Character vector. Weekdays choosen. Default to NULL. |
hours |
Numeric vector. Hours choosen. Default to NULL. |
Character, with a description of all parameters filled, usable as subtitle for graphs.
get_graph_subtitles(segments = c("Route1"),
mode = "car", direction = "lft", weekdays = "monday", hours = 12:14)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.