routelist {riverdist} | R Documentation |
Detect Multiple Routes
Description
Called internally within riverdistancelist. Detects all possible routes from one river network segment to another, in the event of braiding.
Usage
routelist(startseg, endseg, rivers, reps = 100)
Arguments
startseg |
Segment number of the start of the route |
endseg |
Segment number of the end of the route |
rivers |
The river network object to use |
reps |
Deprecated. Was used in a previous version using randomization. |
Value
A list of vectors, each describing a route in segment numbers.
Note
The previous version of this function returned many possible routes using randomization - this algorithm now computes all possible routes.
Author(s)
Matt Tyers
Examples
data(KilleyW)
plot(x=KilleyW)
routelist(startseg=1, endseg=16, rivers=KilleyW)
[Package riverdist version 0.16.3 Index]