symdiff | R Documentation |
Symmetric set complement
symdiff(x, y)
x |
a vector |
y |
a vector |
union(setdiff(x,y), setdiff(y,x))
that symdiff(x,y)
is not identical
as symdiff(y,x)
without applying sort
to the result
merge_symdiff
and xor
symdiff(c(1L,2L,2L), c(2L,3L))
symdiff(c(2L,3L), c(1L,2L,2L))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.