sbn_get_hw {SBN} | R Documentation |
Find all headwater nodes
Description
Find all headwater nodes in a network.
Usage
sbn_get_hw(g)
Arguments
g |
a river network as an igraph object. Must be a downstream directed graph. |
Value
A vector of headwater node id's.
Examples
g <- sbn_create(10, 0.7)
sbn_get_hw(g)
[Package SBN version 1.0.0 Index]