set_max_rides: Set max number of rides

View source: R/set.R

set_max_ridesR Documentation

Set max number of rides

Description

Sets the maximum number of rides a trip can use in R5.

Usage

set_max_rides(r5r_core, max_rides)

Arguments

r5r_core

An object to connect with the R5 routing engine, created with setup_r5().

max_rides

A number. The max number of public transport rides allowed in the same trip. Passed from routing function.

Value

No return value, called for side effects.

See Also

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()


r5r documentation built on May 29, 2024, 7:30 a.m.