sbn_strahler {SBN} | R Documentation |
Get node strahler order
Description
Calculate the reach (node) Strahler for all nodes in a river network. The function will not work if any of the nodes in the network have more than two adjacent upstream reaches (e.g. some networks generated by the OCNet package).
Usage
sbn_strahler(g)
Arguments
g |
a river network as an igraph object. Must be a downstream directed graph. |
Value
a vector of stream Strahler orders.
Examples
g <- sbn_create(10, 0.7)
sbn_strahler(g)
[Package SBN version 1.0.0 Index]