powered by
An infix operator as convenient shorthand for set modulation (A\B)
A %\% B
This is just a wrapper for setdiff
setdiff
Objects which can be treated as sets.
set1 <- 1:5 set2 <- 4:6 set1 %\% set2 # c(1,2,3)
Run the code above in your browser using DataLab