initialize_matrix_from_stations: Create upstream matrix from station names

Description Usage Arguments Value Examples

Description

return a list of stations that are downstream of a target station

Usage

1
initialize_matrix_from_stations(stations, diagnl = 9)

Arguments

stations

character vector of station names

diagnl

integer used along the diagonal of the matrix to indicate station identity (neither upstream nor downstream)

Value

an [n x n+1] data.table

Examples

1
2
3
r <- initialize_matrix_from_stations(c('stn1', 'stn2', 'stn3'))

 @export

ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.