Skip to contents

Transform a river in an igraph object.

Usage

river_to_igraph(river, ...)

Arguments

river

A river object.

...

Further arguments to be passed to OCN_to_igraph.

Value

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
# }
}