Skip to contents

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.

Usage

set_speed(r5r_network, speed, mode)

Arguments

r5r_network

A routable transport network created with build_network().

speed

A number representing the speed in km/h.

mode

A string. Either "bike" or "walk".

Value

Invisibly returns TRUE.