withinRange: Test whether one or more values fall within a specified...

Description Usage Arguments Value

View source: R/withinRange.R

Description

Test whether one or more values fall within a specified range.

Usage

1
withinRange(x, range, inclusive = TRUE)

Arguments

x

Value or vector of values to test.

range

A vector of length at least 2, from which the range will be computed.

inclusive

Logical value, whether to include the bound of the range.

Value

A logical value or vector showing whether each value is within the range.


rossholmberg/holmberg documentation built on Feb. 3, 2018, 2:51 p.m.