Skip to contents

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

Usage

set_max_rides(r5r_network, max_rides)

Arguments

r5r_network

A routable transport network created with build_network().

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.