grapes-b-grapes: Between operator

%b%R Documentation

Between operator

Description

Is a value between a pair of values, adapted from https://stackoverflow.com/questions/19441092/how-can-i-create-an-infix-between-operator
Exclusive of bounds, irespective of order of rhs. Will use max and min values of rhs

Usage

x %b% rng

Arguments

lhs

value or vector of values to comapre with rhs

rhs

pair of values in a vector


willdrysdale/wsdmiscr documentation built on Aug. 26, 2023, 12:31 a.m.