Finds regions of adjacent reaches that fulfill given criteria.
# S3 method for rivernet
adjacentreaches(x,crit.reach,crit.node=TRUE,thresh.length=0,...)
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, ...
Object of class "rivernet" e.g. read by the function rivernet.read
.
Logical vector of the same length as the number of reaches. Indicating whether the criterion for reaches is fulfilled. A single value of TRUE
indicates the criterion is fulfilled for all reaches.
Logical vector of the same length as the number of nodes. Indicating whether the criterion for nodes is fulfilled. A single value of TRUE
indicates the criterion is fulfilled for all nodes.
Threshold length above which not fulfillment of the criterion separates reaches as not being adjacent.
.
rivernet.read
, mean.rivernet
, upstreamconnectivity.rivernet
,
utility
.