Plot GTFS object routes and their frequencies

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

Arguments

x

a gtfs_obj as read by read_gtfs()

...

further specifications

Examples

local_gtfs_path <- system.file("extdata", "google_transit_nyc_subway.zip", package = "tidytransit") nyc <- read_gtfs(local_gtfs_path, local=TRUE) plot(nyc)
#> Calculating headways and spatial features. This may take a while
#> Calculating route and stop headways.
#> Error in UseMethod("inner_join"): no applicable method for 'inner_join' applied to an object of class "NULL"