isInOpenInterval: A method to check value is numeric and in open interval

Description Usage Arguments Value

View source: R/wrapper.R

Description

Checks if a value is numeric and strictly between two other values.

Usage

1
isInOpenInterval(x, lower = 0, upper = 1)

Arguments

x

Value to be checked. Needs to be numeric.

lower

Lower bound. Default value is 0.

upper

Upper bound. Default value is 1.

Value

If numeric, and strictly greater than lower and strictly smaller than upper, then return TRUE. Else return FALSE.


CASMAP documentation built on July 1, 2020, 7:16 p.m.