Skip to contents

Which Values are above a Threshold?

Usage

whichAboveThreshold(values, threshold, comparisonOperator)

Arguments

values

numeric vector of values to be compared with the threshold

threshold

numeric value against which to check the values

comparisonOperator

if "gt" it is checked whether the values are greater than the threshold, otherwise it is checked whether the values are greater than or equal to the threshold