isInOpenInterval {CASMAP}R Documentation

A method to check value is numeric and in open interval

Description

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

Usage

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.


[Package CASMAP version 0.6.1 Index]