Description Usage Arguments Value Examples
return a list of stations that are downstream of a target station
1 | get_downstream(station, table)
|
station |
target station for which a list of downstream stations is desired |
table |
a data.table describing upstream / downstream relationships between stations. |
character vector of stations upstream of target station
1 2 3 4 5 | r <- initialize_matrix_from_stations(c('stn1', 'stn2', 'stn3'))
set_upstream('stn1', r, 'stn2')
get_upstream('stn1', r)
@export
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.