check_in_interval: Get a tester function for an interval.
Description
Get a tester function for an interval.
Usage
check_in_interval(endpoints)
Value
A function that eats a data point and outputs TRUE if the datapoint is in the interval and FALSE if not.
Arguments
- endpoints
A vector of interval endpoints, namely a left and a right. Must be in order.