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".
No return value, called for side effects.
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_max_street_time(),
set_n_threads(),
set_progress(),
set_suboptimal_minutes(),
set_verbose(),
stop_r5(),
street_network_to_sf(),
transit_network_to_sf()