Global energy: sum((walk+drive)/pop)

e_walkDrive_pop(idx, seg, pop, graph)

Arguments

idx

numeric, indices of candidates ins seg.

seg

sf, road segments point locations.

pop

sf, population point data.

graph

dodgr routing graph, graph to route between the points.

Value

A data.table object containing the energies.

Examples

print("tbd.")
#> [1] "tbd."