Learn R Programming

tidytransit (version 0.5.1)

plot.gtfs: Plot GTFS object routes and their frequencies

Description

Plot GTFS object routes and their frequencies

Usage

# S3 method for gtfs
plot(x, ...)

Arguments

x

a gtfs_obj as read by read_gtfs()

...

further specifications

Examples

Run this code
# NOT RUN {
local_gtfs_path <- system.file("extdata",
                              "google_transit_nyc_subway.zip",
                              package = "tidytransit")
nyc <- read_gtfs(local_gtfs_path,
                local=TRUE)
plot(nyc)
# }

Run the code above in your browser using DataLab