upstreamconnectivity {rivernet} | R Documentation |
Calculates connectivity from outlet to upstream reaches
Description
Calculates connectivity from the outlet to upstream reaches, in particular to stream order 1 reaches. Criteria can be provided for reaches as well as nodes.
Usage
upstreamconnectivity(x,...)
Arguments
x |
Object of class "rivernet" e.g. read by the function |
... |
. |
Value
List with the following entries:
paths.reachable
: List of numeric vectors specifying the indices of the reaches of a reachable path. Note that this is a subset of the reaches given in the same component of the element pahts
of the river network.
firstorder.reachable
: Vector of logicals indicating if the corresponding paths given above reach first order rivers.
fract.firstorder.reachable
: fraction of first order segments that can be reached (under the conditions specified by crit.reach
, crit.node
and thresh.length
).
streamorder.reachable
: vector of reachable rivers of order 1, 2, etc.
See Also
rivernet.read
, mean.rivernet
, adjacentreaches.rivernet
,
utility
.