Global energy: sum((walk+drive)/pop)
e_walkDrive_pop(idx, seg, pop, graph)
| 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. |
A data.table object containing the energies.
print("tbd.")#> [1] "tbd."