Created
March 18, 2015 11:17
-
-
Save alfcrisci/01ae23fb9320adc8a7fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| outersect <- function(x, y) { | |
| sort(c(x[!x%in%y], | |
| y[!y%in%x])) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reference http://www.r-bloggers.com/outersect-the-opposite-of-rs-intersect-function/