View source: R/adjacentreaches.rivernet.r
| adjacentreaches.rivernet | R Documentation |
Finds regions of adjacent reaches that fulfill given criteria.
## S3 method for class 'rivernet'
adjacentreaches(x,crit.reach,crit.node=TRUE,thresh.length=0,...)
x |
Object of class "rivernet" e.g. read by the function |
crit.reach |
Logical vector of the same length as the number of reaches. Indicating whether the criterion for reaches is fulfilled. A single value of |
crit.node |
Logical vector of the same length as the number of nodes. Indicating whether the criterion for nodes is fulfilled. A single value of |
thresh.length |
Threshold length above which not fulfillment of the criterion separates reaches as not being adjacent. |
... |
. |
Numerical vector of the same length as the number of reaches in the river network with unique numbering corresponding to regions of adjacent reaches (under the conditions specified by crit.reach, crit.node and thresh.length). The segment labelled 0 corresponds to reaches which do not fulfill the criteria and are further away than thresh.length from reaches that fulfill the criteria or which are longer than thresh.length. The other regions are labelled with 1, 2, 3, ...
rivernet.read, mean.rivernet, upstreamconnectivity.rivernet,
utility.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.