Get Indices Within Events
getIndicesWithinEvents(hydraulicData, eventSettings = NULL, thresholds = c(H = NA, Q = NA), columns = c(H = "H", Q = "Q"))
hydraulicData | data frame with a columns DateTime and two columns named as given in columnH, columnQ |
---|---|
eventSettings | data frame with columns tBeg, tEnd (begin and end of period in which thresholds are valid), Hthreshold, Qthreshold |
thresholds | default H and Q thresholds to be applied for time intervals for which no special thresholds are defined |
columns | optional. Named vector of character with column names for
|