setdiff_symmetric | R Documentation |
The base setdiff(vec1, vec2)
function is asymmetric in
the sense that it returns elements of vec1
that are not found within
vec2
, but it does not perform the reverse comparison. In contrast,
setdiff_symmetric(vec1, vec2)
is symmetric in that it returns any
elements that are found in one vector but not the other.
setdiff_symmetric(x, y)
x, y |
vectors (of the same mode) containing a sequence of items. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.