inrange: Check if the values of a vector v is in the given ranges.

View source: R/filter.range.R

inrangeR Documentation

Check if the values of a vector v is in the given ranges.

Description

Check if the values of a vector v is in the given ranges.

Usage

inrange(v, range)

Arguments

v

vector numeric

range

A string contains the numeric ranges in a form such as (low, up) for open range and [low, up] for close range. Multiple ranges should be separated by semi-columns which is equivalent to logical OR e.g. (low1, up1); (low2, up2)


CC-HIC/cleanEHR documentation built on Aug. 28, 2022, 10:33 a.m.