Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LFD.2.20.1805011323470.1023@localhost>
Date: 2018-05-01T11:26:54Z
From: Eivind K. Dovik
Subject: Merging dataframes
In-Reply-To: <CAGvZnSOgKn-DDW_269jEbQ=2rE8QnkMfWnHGyt04EjVErm6oBg@mail.gmail.com>

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 at 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.
>