%between% {bliss}R Documentation

between

Description

Check if a number belong to a given interval.

Usage

value %between% interval

Arguments

value

a numerical value.

interval

a numerical vector: (lower,upper).

Value

a logical value.

Examples

1 %between% c(0,2)
2 %between% c(0,2)
3 %between% c(0,2)

[Package bliss version 1.1.1 Index]