sbn_get_outlet: Find river mouth node

Description Usage Arguments Value Examples

View source: R/sbn_get_outlet.R

Description

Find river mouth node from a directed graph.

Usage

1

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

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

SBN documentation built on Jan. 18, 2022, 1:08 a.m.