Dividing a Range Into 3 Intervals
cut.RdFunctions for evaluating if values of vectors are within intervals,
or less than or higher than interval endpoints.
The c within the brackets refer to cut,
a similar function.
Value
Values of x are compared to interval endpoints
a and b (a <= b) (see %[]% for details).
The functions return an integer vector taking values
-1L (value of x is less than or equal to a,
depending on the interval type),
0L (value of x is inside the interval), or
1L (value of x is greater than or equal to b,
depending on the interval type).