powered by
Find all nodes downstream of a given node.
sbn_get_downstream(g, node)
a river network as an igraph object. Must be a downstream directed graph.
target node to get all downstream nodes of.
a vector of downstream node id's.
# NOT RUN { g <- sbn_create(10, 0.7) sbn_get_downstream(g, 10) # }
Run the code above in your browser using DataLab