powered by
Symmetric set complement
symdiff(x, y)
union(setdiff(x, y), setdiff(y, x))
a vector
merge_symdiff() and xor()
merge_symdiff()
xor()
symdiff(c(1L, 2L, 2L), c(2L, 3L)) symdiff(c(2L, 3L), c(1L, 2L, 2L))
Run the code above in your browser using DataLab