set_speed | R Documentation |
This function receives the walk and bike 'speed' inputs in Km/h from routing functions above and converts them to meters per second, which is then used to set these speed profiles in r5r JAR.
set_speed(r5r_core, speed, mode)
r5r_core |
An object to connect with the R5 routing engine, created with
|
speed |
A number representing the speed in km/h. |
mode |
A string. Either |
Invisibly returns TRUE
.
Other setting functions:
set_breakdown()
,
set_cutoffs()
,
set_expanded_travel_times()
,
set_fare_cutoffs()
,
set_fare_structure()
,
set_max_fare()
,
set_max_lts()
,
set_max_rides()
,
set_monte_carlo_draws()
,
set_n_threads()
,
set_output_dir()
,
set_percentiles()
,
set_progress()
,
set_suboptimal_minutes()
,
set_time_window()
,
set_verbose()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.