R/setXor.R
setXor.Rd
Performs \((x \cup y) \setminus (x \cap y)\) on parameters, returning all elements that are in either x or y, but not both.
setXor(x, y)
Objects to perform set function on.
Michaja Pehl
x <- c('a', 'b', 'c') y <- c('b', 'c', 'd') setXor(x, y) #> [1] "a" "d"