isInBounds: Check if an argument is in the closed set [lower, upper]

View source: R/utils.R

isInBoundsR Documentation

Check if an argument is in the closed set [lower, upper]

Description

Function to check that a value x is between two values.

Usage

isInBounds(x, lower, upper)

Arguments

x

The value to check.

lower

The lower bound.

upper

The upper bound.


ffstream documentation built on May 31, 2023, 7:53 p.m.