river_to_igraph {rivnet} | R Documentation |
river_to_igraph
Description
Transform a river
in an igraph
object.
Usage
river_to_igraph(river, ...)
Arguments
river |
A |
... |
Further arguments to be passed to |
Details
This is an alias to OCN_to_igraph
.
Value
An igraph
object.
Examples
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
[Package rivnet version 0.4.2 Index]