R/set.R
rsetdiff.Rd
reverse setdiff, i.e. rsetdiff(x,y) equals setdiff(y,x)
rsetdiff(x, y)
a vector
another vector
Similar to setdiff, but with elements in y but not in x
Jitao David Zhang
testVec1 <- LETTERS[3:6] testVec2 <- LETTERS[5:7] rsetdiff(testVec1, testVec2) #> [1] "G"