Skip to contents

The function process_get_travelwaittime_by_mainmode calculates the average travel time and average wait time for each main mode in a given trips_table tibble.

Usage

process_get_travelwaittime_by_mainmode(trips_table, time_format = "minute")

Arguments

trips_table

tibble of output_trips (from read_output_trips)

time_format

character string indicating the desired time format for the output. The options are "minute", "hour", or "second". The default is "minute".

Value

A tibble containing the columns main_mode containing the main modes, trav_time_avg containing the average travel time for each main mode, and the column wait_time_avg containing the average wait time for each main mode.