check_in_interval {mappeR}R Documentation

Get a tester function for an interval.

Description

Get a tester function for an interval.

Usage

check_in_interval(endpoints)

Arguments

endpoints

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

Value

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


[Package mappeR version 1.3.0 Index]