check_in_interval function

Get a tester function for an interval.

Get a tester function for an interval.

check_in_interval(endpoints)

Arguments

  • endpoints: A vector of interval endpoints, namely a left and a right. Must be in order.

Returns

A function that eats a data point and outputs TRUE if the datapoint is in the interval and FALSE if not.

  • Maintainer: George Clare Kennedy
  • License: MIT + file LICENSE
  • Last published: 2025-02-20