check_in_interval: Get a tester function for an interval.

View source: R/quilting_hut.R

check_in_intervalR 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.


mappeR documentation built on April 3, 2025, 6:19 p.m.