Re: [R] merge two data sets

From: kayj <kjaja27_at_yahoo.com>
Date: Wed, 04 Jun 2008 10:59:58 -0700 (PDT)

since they are not in data1 , I do not want them to be in the merge result.

Moshe Olshansky-2 wrote:

> 
> Where do you want to place ID's which are in data2 but NOT in data1?
> 
> 
> --- On Wed, 4/6/08, kayj <kjaja27_at_yahoo.com> wrote:
> 

>> From: kayj <kjaja27@yahoo.com>
>> Subject: [R] merge two data sets
>> To: r-help_at_r-project.org
>> Received: Wednesday, 4 June, 2008, 9:45 AM
>> I would like to merge “data1 “that contains 100 unique
>> ID’s with another
>> data set “data 2” with 150 ID’s and the age of those
>> individuals ( the ID in
>> data1 is a subset of the ID in data 2) I would like to
>> merge these data1
>> with data2 and have the result of the merge to have the ID
>> ordered as in
>> data1.
>>
>> Can this be done in R?
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/merge-two-data-sets-tp17636278p17636278.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help_at_r-project.org mailing list
>> 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.
> 
> ______________________________________________
> R-help_at_r-project.org mailing list
> 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/merge-two-data-sets-tp17636278p17652782.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_r-project.org mailing list
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.
Received on Wed 04 Jun 2008 - 20:05:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 04 Jun 2008 - 20:31:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive