Get indices of rows in hydraulicData in which H or Q thresholds are exceeded
whichAboveThresholds(hydraulicData, indices = seq_len(nrow(hydraulicData)), thresholds = c(H = NA, Q = NA), columns = c(H = "H", Q = "Q"))
hydraulicData | data frame with columns as named in |
---|---|
indices | vector of indices of preselected rows from which to exclude those in which the thresholds are exceeded |
thresholds | vector of thresholds for |
columns | vector of names containing |