isInOpenInterval {CASMAP} | R Documentation |
Checks if a value is numeric and strictly between two other values.
isInOpenInterval(x, lower = 0, upper = 1)
x |
Value to be checked. Needs to be numeric. |
lower |
Lower bound. Default value is |
upper |
Upper bound. Default value is |
If numeric, and strictly greater than lower
and
strictly smaller than upper
, then return TRUE
.
Else return FALSE
.