| set_new_congestion | R Documentation |
Verifies if and which congestion mode to use and applies it.
set_new_congestion(r5r_network, new_carspeeds, carspeed_scale)
r5r_network |
A routable transport network created with |
new_carspeeds |
A df or sf polygon. |
carspeed_scale |
Numeric > 0. |
Invisibly returns TRUE.
Other setting functions:
reverse_if_direct_mode(),
set_breakdown(),
set_cutoffs(),
set_elevation(),
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_new_lts(),
set_output_dir(),
set_percentiles(),
set_progress(),
set_speed(),
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.