assign_max_street_time {r5r} | R Documentation |
Assign max street time from walk/bike distance and speed
Description
Checks the time duration and speed inputs and converts them to distance.
Usage
assign_max_street_time(max_time, speed, max_trip_duration, mode)
Arguments
max_time |
A numeric of length 1. Maximum walking distance (in meters) for the whole trip. Passed from routing functions. |
speed |
A numeric of length 1. Average walk speed in km/h. Defaults to 3.6 Km/h. Passed from routing functions. |
max_trip_duration |
A numeric of length 1. Maximum trip duration in seconds. Defaults to 120 minutes (2 hours). Passed from routing functions. |
mode |
A string. Either |
Value
An integer
representing the maximum number of minutes walking.
See Also
Other assigning functions:
assign_decay_function()
,
assign_departure()
,
assign_drop_geometry()
,
assign_max_trip_duration()
,
assign_mode()
,
assign_opportunities()
,
assign_osm_link_ids()
,
assign_points_input()
,
assign_shortest_path()
[Package r5r version 2.2.0 Index]