assign_mode {r5r}R Documentation

Check and select transport modes from user input

Description

Selects the transport modes used in the routing functions. Only one direct and access/egress modes are allowed at a time.

Usage

assign_mode(mode, mode_egress, style)

Arguments

mode

A character vector, passed from routing functions.

mode_egress

A character vector, passed from routing functions.

Value

A list with the transport modes to be used in the routing.

See Also

Other assigning functions: assign_decay_function(), assign_departure(), assign_drop_geometry(), assign_max_street_time(), assign_max_trip_duration(), assign_opportunities(), assign_points_input(), assign_shortest_path()


[Package r5r version 2.0 Index]