Skip to contents

select specifique BVI tree from outlet

Usage

selectSubNetwork(griwrm, node = NULL, return_griwrm = FALSE)

Arguments

griwrm

Griwrm Object from SeineBasin2 packages

node

Wanted outlet of watershed

return_griwrm

return the sub-network GRiwrm object

Value

a vector with node of Sub-Network based on GRiwrm Object

Examples

griwrm = getGRiwrm()
#> Rows: 152 Columns: 14
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: "\t"
#> chr (9): id_amont, id_aval, nom, code_station_h3, code_site_h3, station_cmpl...
#> dbl (5): distance_aval, area, area_inter, lambert2.x, lambert2.y
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.
node = "H1501010"
selectSubNetwork(griwrm, node)
#> [1] "H1501010" "AUZON"    "H1231010" "R_AUBE"   "AMANCE"   "P_AUBE"   "TRANN_01"
#> [8] "H1201010" "H1503510"