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

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.