assign_max_street_time | R Documentation |
Checks the time duration and speed inputs and converts them to distance.
assign_max_street_time(max_time, speed, max_trip_duration, mode)
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 |
An integer
representing the maximum number of minutes walking.
Other assigning functions:
assign_decay_function()
,
assign_departure()
,
assign_drop_geometry()
,
assign_max_trip_duration()
,
assign_mode()
,
assign_opportunities()
,
assign_points_input()
,
assign_shortest_path()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.