R 是否支持 "Between" 运算符?

Does R support "Between" operator?

我正在做一个需要 R 来生成的项目 queries.I 遇到了 BETWEEN 操作员要求。 R 是否支持“Between”运算符?喜欢 SQL

“dplyr”包中存在 between 函数。

你也可以自己写:

between = function (x, low, high) {
    x >= low & x <= high
}