Skip to content

Instantly share code, notes, and snippets.

@mbacou
Created March 25, 2013 16:24
Show Gist options
  • Save mbacou/5238395 to your computer and use it in GitHub Desktop.
Save mbacou/5238395 to your computer and use it in GitHub Desktop.
R: Find unmatched observations
# Which are the rows in dt1 that aren't in dt2.
which(is.na(dt2[dt1, which=TRUE, mult="first"]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment