R/in_range.R

Defines functions in_range

in_range <- function(target, low, high) {
  # Simple < and >
  return(low < target & target < high)
}

Try the imabc package in your browser

Any scripts or data that you put into this service are public.

imabc documentation built on April 12, 2021, 9:06 a.m.