river_to_igraph
river_to_igraph.Rd
Transform a river
in an igraph
object.
Details
This is an alias to OCNet::OCN_to_igraph
.
Examples
if (FALSE) { # interactive() && traudem::can_register_taudem()
# \donttest{
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
# }
}