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.
Arguments
- r5r_network
A routable transport network created with
build_network().- fare_structure
A fare structure object, following the convention set in
setup_fare_structure(). This object describes how transit fares should be calculated. Please see the fare structure vignette to understand how this object is structured:vignette("fare_structure", package = "r5r").
See also
Other setting functions:
reverse_back_if_direct_mode(),
reverse_if_direct_mode(),
set_breakdown(),
set_cutoffs(),
set_elevation(),
set_expanded_travel_times(),
set_fare_cutoffs(),
set_max_fare(),
set_max_lts(),
set_max_rides(),
set_monte_carlo_draws(),
set_n_threads(),
set_new_congestion(),
set_new_lts(),
set_output_dir(),
set_percentiles(),
set_progress(),
set_speed(),
set_suboptimal_minutes(),
set_time_window(),
set_verbose()
