问题 I would like to subset my data based on multiple inequality conditions using the data.table package. The examples in the data.table manual show how to do this with character variables, but not with numeric inequalities. I also see how to do this using the subset function. But I really would like to take advantage of the data.table binary search speed. Below is an example of what I am trying to do. library(data.table) data <- data.table(X=seq(-5,5,1), Y=seq(-5,5,1), Z=seq(-5,5,1)) data setkey