get_graph_subtitles: Create subtitles for graphics.

View source: R/utils_graph.R

get_graph_subtitlesR Documentation

Create subtitles for graphics.

Description

Create subtitles for graphics.

Usage

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

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.

Value

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

Examples

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


telraamStats documentation built on May 29, 2024, 10:08 a.m.