Skip to content

Instantly share code, notes, and snippets.

@mbannert
Created February 8, 2014 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mbannert/8879579 to your computer and use it in GitHub Desktop.
Save mbannert/8879579 to your computer and use it in GitHub Desktop.
df1 <- data.frame(a=c(1,2,3),
b=c(3,2,1),
d=c(4,5,4))
df1[with(df1,a+b == d),]
@mbannert
Copy link
Author

mbannert commented Feb 8, 2014

Here's your reproducible example... HTH.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment