plot_routeduration: Plot Scheduled Trip Duration by Route

View source: R/plot_service_planning.R

plot_routedurationR Documentation

Plot Scheduled Trip Duration by Route

Description

Shows the distribution of scheduled end-to-end trip duration for the busiest routes.

Usage

plot_routeduration(gtfs, top_n = 20L)

Arguments

gtfs

A GTFS object.

top_n

Maximum number of routes to display.

Value

A 'ggplot' object. Each observation is one scheduled trip; boxes summarize duration in minutes by route.

References

[FTA Evaluation Introduction](https://www.transit.dot.gov/research-innovation/evaluation-introduction)

Examples

plot_routeduration(for_rail_gtfs)


GTFSwizard documentation built on Aug. 21, 2026, 5:16 p.m.