View source: R/river_to_igraph.R
river_to_igraph | R Documentation |
Transform a river
in an igraph
object.
river_to_igraph(river, ...)
river |
A |
... |
Further arguments to be passed to |
This is an alias to OCNet::OCN_to_igraph
.
An igraph
object.
fp <- system.file("extdata/wigger.tif", package="rivnet")
r <- extract_river(outlet=c(637478,237413),
DEM=fp)
r <- aggregate_river(r)
g <- river_to_igraph(r, level = "AG")
g
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.