[R] Merging dataframes

Chintanu chint@nu @ending from gm@il@com
Tue May 1 12:35:19 CEST 2018


May I please ask how I do the following in R. Sorry - this may be trivial,
but I am struggling here for this.

For two dataframes (A and B), I wish to identify (based on a primary
key-column present in both A & B) -

1. Which records (rows) of A did not match with B, and

2. Which records of B did not match with A ?

I came across a setdt function while browsing, but when I tried it, it says
- Could not find function "setdt".

Overall, if there is any way of doing it (preferably in some simplified
way), please advise.

Many thanks in advance.



	[[alternative HTML version deleted]]

More information about the R-help mailing list