Re: [R] merge two data sets

2008-06-04 Thread Mark Wardle
Please see ?merge In particular, see all.x parameter. Mark 2008/6/4 kayj <[EMAIL PROTECTED]>: > > 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 w

Re: [R] merge two data sets

2008-06-04 Thread kayj
AIL PROTECTED]> >> Subject: [R] merge two data sets >> To: r-help@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

Re: [R] merge two data sets

2008-06-03 Thread Moshe Olshansky
Where do you want to place ID's which are in data2 but NOT in data1? --- On Wed, 4/6/08, kayj <[EMAIL PROTECTED]> wrote: > From: kayj <[EMAIL PROTECTED]> > Subject: [R] merge two data sets > To: r-help@r-project.org > Received: Wednesday, 4 June, 2008, 9:45 AM &

[R] merge two data sets

2008-06-03 Thread kayj
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