View source: R/misc_functions.R
outersect | R Documentation |
'outersect' Calculates the symmetrical set difference of subsets
outersect(x, y, ...)
x , y |
vectors, data frames containing a sequence of items |
... |
further arguments to be passed to or from other methods |
A vector made of both contents from x and y, except from the duplicated items
x <- c("age", "year", "bp", "name")
y <- c("city", "year", "birth", "id")
outersect(x, y)
#"age" "bp" "name" "city" "birth" "id"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.