Description Usage Arguments Value Note Examples
View source: R/list_all_downstream.R
Identify all the subcatchments downstream of a list of specified catchments
1 | list_all_downstream(hierarchy, catchnames)
|
hierarchy |
a dataframe containing catchment id and next downstream (nextds) id fields |
catchnames |
a vector of catchment ids for which a vector of next downstream catchment ids will be returned. |
a vector of next downstream catchment ids for each catchment in catchnames
Function depends on the next downstream field in a stream network 'hierarchy' table (dataframe).
1 2 3 4 5 6 | #'#'data(mwcats)
#find all sites downstream of the first five sites in the catchment list
data(mwcats)
list_all_downstream(hierarchy = mwcats, catchname = mwcats$site[1:5])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.