Find shortest path between a pair of nodes in the network.
Arguments
- network
A spatial network object of class
sfnetworks::sfnetwork- from
Start node
- to
End node
- weights
Name of the column in the network edge table from where to take the weigths
Value
An sf::sfc_LINESTRING object
