assign_mode: Check and select transport modes from user input

View source: R/assign.R

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


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