assign_binIDs: assign_binIDs Recursive function to assign binary id to...

Description Usage Arguments

View source: R/export_ssn.R View source: R/calc_binary.R

Description

Should be run for all outlets in the network ( = most downstream segments) and fills the binID for all segments

This function is run for all outlets in the network ( = most downstream segments) and fills the binID for all segments. It is called by calc_binary in export_ssn and should not be called by the user.

Usage

1
2
3
assign_binIDs(dt, id, binID, lastbit)

assign_binIDs(dt, id, binID, lastbit)

Arguments

id:

stream segment

binID:

binary ID

lastbit:

last char to be added (0 or 1)


openSTARS documentation built on Feb. 4, 2022, 5:08 p.m.