Set walk and bike speed
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 |
a rJava object to connect with R5 routing engine |
speed |
A numeric representing the speed in km/h. |
mode |
Either |
No return value, called for side effects.
Other support functions:
assert_points_input(),
check_connection(),
download_metadata(),
posix_to_string(),
select_mode(),
set_max_lts(),
set_max_rides(),
set_max_street_time(),
set_n_threads(),
set_suboptimal_minutes(),
set_verbose(),
stop_r5(),
street_network_to_sf()
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.