Description Usage Arguments Value Examples
Convert an upstream directed or non-directed network to a downstream directed network.
1 | sbn_down_dir(g, mouth)
|
g |
a river network as an igraph object. |
mouth |
river mouth vertex id. |
A downstream directed network.
1 2 3 4 5 6 7 | g <- sbn_create(10, 0.7)
# to undirected
g <- sbn_change_dir(g, method = "undir")
# undirected to downstream directed
sbn_down_dir(g, mouth = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.