Learn R Programming

r5r (version 0.7.0)

set_max_street_time: Set max street time

Description

Converts a time duration and speed input and converts it to distances.

Usage

set_max_street_time(max_walk_dist, walk_speed, max_trip_duration)

Arguments

max_walk_dist

numeric, Maximum walking distance (in meters) for the whole trip. Passed from routing functions.

walk_speed

numeric, Average walk speed in Km/h. Defaults to 3.6 Km/h. Passed from routing functions.

max_trip_duration

numeric, Maximum trip duration in seconds. Defaults to 120 minutes (2 hours). Passed from routing functions.

Value

An integer representing the maximum number of minutes walking

See Also

Other support functions: assert_breakdown_stat(), assert_decay_function(), assert_points_input(), check_connection(), fileurl_from_metadata(), find_snap(), posix_to_string(), select_mode(), set_max_lts(), set_max_rides(), set_n_threads(), set_progress(), set_speed(), set_suboptimal_minutes(), set_verbose(), stop_r5(), street_network_to_sf(), transit_network_to_sf()