[R] Merging dataframes

Eivind K. Dovik he||o @end|ng |rom e|v|nddov|k@com
Tue May 1 13:26:54 CEST 2018


On Tue, 1 May 2018, Chintanu wrote:

> Hi,
>
>
> 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.
>
>
> regards,
>
> Tito
>
> 	[[alternative HTML version deleted]]

Dear Tito,

Please provide your R-code so we can reproduce your data (and your 
setdt-error).

Best,

Eivind K. Dovik
Bergen, NO


>
> ______________________________________________
> R-help using 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.
>




More information about the R-help mailing list