powered by
around(expr, center) between(expr, left, right) pos(expr, pos_value) layered(expr, ...)
base_pref
expr
# Search for cars where mpg is near to 25 psel(mtcars, around(mpg, 25)) # cyl = 2 and cyl = 4 are equally good, cyl = 6 is worse psel(mtcars, layered(cyl, c(2, 4), 6))
Run the code above in your browser using DataLab