Created
          March 18, 2015 11:18 
        
      - 
      
 - 
        
Save alfcrisci/c87a5d2b1a18fb5281f1 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, ...) { | |
| big.vec <- c(x, y, ...) | |
| duplicates <- big.vec[duplicated(big.vec)] | |
| setdiff(big.vec, unique(duplicates)) | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
http://www.r-bloggers.com/outersect-the-opposite-of-rs-intersect-function/