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"))

Arguments

hydraulicData

data frame with columns as named in columns

indices

vector of indices of preselected rows from which to exclude those in which the thresholds are exceeded

thresholds

vector of thresholds for H and Q values, respectively

columns

vector of names containing H and Q values, respectively