riv2graph: Calculate graph object based on river network

Description Usage Arguments Value

Description

Calculate graph object based on river network

Usage

1
riv2graph(nodes_i, riv_i)

Arguments

nodes_i

a sf dataframe of points marking the nodes of the river network defined as the inlet of each river reach. This must be only one tree. It won't work with a forest.

riv_i

a sf dataframe with a topologicaly valid river network. This must be only one tree. It won't work with a forest.

Value

g a igraph object


jmigueldelgado/a5udes documentation built on Dec. 21, 2021, 1:12 a.m.