Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

set_max_rides

Set max number of transfers


Description

Set maxTransfers parameter in R5.

Usage

set_max_rides(r5r_core, max_rides)

Arguments

r5r_core

rJava object to connect with R5 routing engine

max_rides

numeric. 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


r5r

Rapid Realistic Routing with 'R5'

v0.4.0
MIT + file LICENSE
Authors
Marcus Saraiva [aut] (<https://orcid.org/0000-0001-6218-2338>), Rafael H. M. Pereira [aut, cre] (<https://orcid.org/0000-0003-2125-7465>), Daniel Herszenhut [aut] (<https://orcid.org/0000-0001-8066-1105>), Carlos Kaue Vieira Braga [aut] (<https://orcid.org/0000-0002-6104-7297>), Matthew Wigginton Conway [aut] (<https://orcid.org/0000-0002-1210-2982>), Ipea - Institue for Applied Economic Research [cph, fnd]
Initial release
2021-04-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.