set_fare_structure | R Documentation |
Sets the fare structure used by our "generic" fare calculator. A value of
NULL
is passed to fare_structure
by the upstream routing and
accessibility functions when fares are not to be calculated.
set_fare_structure(r5r_core, fare_structure)
r5r_core |
An object to connect with the R5 routing engine, created with
|
fare_structure |
A fare structure object, following the convention
set in |
Invisibly returns TRUE
.
Other setting functions:
set_breakdown()
,
set_cutoffs()
,
set_expanded_travel_times()
,
set_fare_cutoffs()
,
set_max_fare()
,
set_max_lts()
,
set_max_rides()
,
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.