-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
DocumentationDocumentation update neededDocumentation update needed
Description
Hi, I've noticed that dodgr_paths don't use weight column if present (dodgr_graph_cols and make_vert_map dont use weight column) , but according to the documentation: If an additional column named weight or wt is present, shortest paths are calculated according to values specified in that column.
Currently I bypass this by:
graph[["d_weighted_orig"]] <- graph[["d_weighted"]]
in the loop ...
penalty_vec <- ...
graph[["d_weighted"]] <- graph[["d_weighted_orig"]] * penalty_vec
...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DocumentationDocumentation update neededDocumentation update needed