sbn_get_outlet {SBN}R Documentation

Find river mouth node

Description

Find river mouth node from a directed graph.

Usage

sbn_get_outlet(g)

Arguments

g

a river network as an igraph object. Must be a downstream directed graph.

Value

An integer identifying the id of river mouth node.

Examples

g <- sbn_create(10, 0.7)
sbn_get_outlet(g)


[Package SBN version 1.0.0 Index]