inRange: Test if numbers lie within a range.

Description Usage Arguments Value

View source: R/util.R

Description

Test if numbers lie within a range.

Usage

1
inRange(n, interval)

Arguments

n

Numeric vector.

interval

Numeric vector containing the minimum and maximum values of the range, respectively.

Value

Logical vector indicating which elements of the input numeric vector lie within the specified range.


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.