downstream: Find all downstream segments from a specified river segment.

View source: R/upstream_downstream.R

downstreamR Documentation

Find all downstream segments from a specified river segment.

Description

Function returns the river network consisting of all river segments directly downstream from the specified segment.

Usage

downstream(HSnetwork, ID, riverID = "riverID")

Arguments

HSnetwork

a HSnetwork (routed river network) object obtained with river_network.

ID

The ID of the segment for which the downstream river network is returned.

riverID

A character string which specifies the name of the column in river containing unique river network identifiers. Defaults to "riverID".

Value

A HSnetwork object (a routed river network) consisting of the segments downstream from the segment specified.


mkkallio/hydrostreamer documentation built on Oct. 14, 2023, 9:38 p.m.