configure_demand: Demand configuration

Description Usage Arguments Value Examples

View source: R/configure_demand.R

Description

Tranforms demand data from source origin and destination to match origin and destination from graph/zone objects

Usage

1
configure_demand(demand, zones)

Arguments

demand

demand_file source file with demand data

zones

zones object created with configure_graph()

Value

demand object compatible with solve_ue() function

Examples

1
2
3
4
flist <- configure_graph(sioux_network,sioux_zones)
graph <- flist[[1]]
zones <- flist[[2]]
demand <- configure_demand(sioux_demand,zones)

douglascm/trafficr documentation built on March 13, 2020, 11:44 a.m.