powered by

This is a shortcut for x >= left & x <= right, implemented efficiently in C++ for local values, and translated to the appropriate SQL for remote tables.

x >= left & x <= right

between(x, left, right)

A numeric vector of values

Boundary values

# NOT RUN { x <- rnorm(1e2) x[between(x, -1, 1)] # }

Run the code above in your browser using DataLab