Hi Frank, It looks like you're very close. I think you want:
unique(merge(x, y, by = 1, all=T)) Gabor Grothendieck's sqldf package is very useful if you're more comfortable with SQL-type syntax, see: https://github.com/ggrothendieck/sqldf Best Regards, William (Bill) Michels, Ph.D. On Tue, May 26, 2015 at 5:12 PM, Frank Burbrink <burbrink...@gmail.com> wrote: <SNIP> ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.