is.between: Checking if elements of a vector belongs to a exclusive...

Description Usage Arguments Value

View source: R/helper_functions.R

Description

Checking if elements of a vector belongs to a exclusive interval from min to max

Usage

1

Arguments

x

A numeric vector/scalar

min

the lower bound of the exclusive interval

max

the upper bound of the exclusive interval

Value

True or False for valid comparison result. If min > max, the function return 0.

#@export #@examples #is.between(3, 1, 6) #TRUE #is.between(7, 1, 6) #FALSE #is.between(5, 4, 1) #0

#is.between(c(1,3,2,7), 1, 6)


boyiguo1/MOTTE.RF documentation built on June 14, 2020, 4:12 p.m.