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)
a rJava object to connect with R5 routing engine
A numeric representing the speed in km/h.
Either "bike"
or "walk"
.
Other support functions:
assert_points_input()
,
posix_to_string()
,
select_mode()
,
set_max_rides()
,
set_max_street_time()
,
set_n_threads()
,
set_suboptimal_minutes()
,
set_verbose()
,
street_network_to_sf()