check_in_interval {mappeR} | R Documentation |
Get a tester function for an interval.
check_in_interval(endpoints)
endpoints |
A vector of interval endpoints, namely a left and a right. Must be in order. |
A function that eats a data point and outputs TRUE if the datapoint is in the interval and FALSE if not.