set_max_rides | R Documentation |
Sets the maximum number of rides a trip can use in R5.
set_max_rides(r5r_core, max_rides)
r5r_core |
An object to connect with the R5 routing engine, created with
|
max_rides |
A number. The max number of public transport rides allowed in the same trip. Passed from routing function. |
No return value, called for side effects.
Other setting functions:
set_breakdown()
,
set_cutoffs()
,
set_expanded_travel_times()
,
set_fare_cutoffs()
,
set_fare_structure()
,
set_max_fare()
,
set_max_lts()
,
set_monte_carlo_draws()
,
set_n_threads()
,
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.