whichAboveThresholds: In Which Rows Are Thresholds Exceeded?

Description Usage Arguments

View source: R/threshold.R

Description

Get indices of rows in hydraulicData in which H or Q thresholds are exceeded

Usage

1
2
3
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


KWB-R/kwb.monitoring documentation built on May 17, 2019, 1:06 p.m.