View source: R/detectbraiding.R
routelist | R Documentation |
Called internally within riverdistancelist. Detects all possible routes from one river network segment to another, in the event of braiding.
routelist(startseg, endseg, rivers, reps = 100)
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. |
A list of vectors, each describing a route in segment numbers.
The previous version of this function returned many possible routes using randomization - this algorithm now computes all possible routes.
Matt Tyers
data(KilleyW)
plot(x=KilleyW)
routelist(startseg=1, endseg=16, rivers=KilleyW)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.