Global energy: sum(walk/pop)

e_walk_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."