R/upstream_downstream.R
upstream.Rd
Function returns the river network consisting of all upstream segments from the specified river segment.
upstream(HSnetwork, ID, riverID = "riverID")
HSnetwork | a |
---|---|
ID | The ID of the segment for which the upstream river network is returned. |
riverID | A character string which specifies the name of the column in
|
The input HSnetwork
object consisting of only upstream
segments.