setdiff2 | R Documentation |
Returns the elements that in a or b but not in both (i.e., the differences between sets a and b)
setdiff2(a, b)
a |
Required vector |
b |
Required vector |
Vector of elements
setdiff()
which is a bit different
setdiff2(1:10, 3:12)
setdiff2(c('a','b','c'), c('b','c','d'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.