Plot travel and wait time for each mode as a bar chart
Source:R/output_trips.R
plot_travelwaittime_mean_barchart.Rd
Takes the tibble created by read_output_trips to plot a bar chart of travel and wait times. Using the parameter unite_modes, specific modes can be renamed into one with the name specified with united_name (by default 'united')
Usage
plot_travelwaittime_mean_barchart(
trips_table,
unite_modes = character(0),
united_name = "united",
time_format = "minute"
)
Arguments
- trips_table
tibble of trips_output (from read_output_trips)
- unite_modes
optional, vector of character strings, changes names of chosen modes in the column main_mode to a new chosen name (i.e. drtNorth and drtSouth to drt), using the function (process_rename_mainmodes)
- united_name
optional, character string, specifies the name of the united mode
- time_format
character string, indicating the desired time format for the output. The options are "minute", "hour", or "second". The default is "minute".