Symmetric set complement
Symmetric set complement
symdiff(x, y)
x |
a vector |
y |
a vector |
union(setdiff(x,y), setdiff(y,x))
merge_symdiff
and xor
symdiff(c(1L,2L,2L), c(2L,3L)) symdiff(c(2L,3L), c(1L,2L,2L))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.