Learn R Programming

telraamStats (version 1.1.2)

get_graph_subtitles: Create subtitles for graphics.

Description

Create subtitles for graphics.

Usage

get_graph_subtitles(
  segments = NULL,
  modes = NULL,
  directions = NULL,
  weekdays = NULL,
  hours = NULL
)

Value

Character, with a description of all parameters filled, usable as subtitle for graphs.

Arguments

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.

Examples

Run this code
get_graph_subtitles(segments = c("Route1"),
  mode = "car", direction = "lft", weekdays = "monday", hours = 12:14)

Run the code above in your browser using DataLab