Description Usage Arguments Value Examples
View source: R/sbn_get_downstream.R
Find all nodes downstream of a given node.
1 | sbn_get_downstream(g, node)
|
g |
a river network as an igraph object. Must be a downstream directed graph. |
node |
target node to get all downstream nodes of. |
a vector of downstream node id's.
1 2 | g <- sbn_create(10, 0.7)
sbn_get_downstream(g, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.