Re: [R] Combining two data frames

2014-09-19 Thread Adrian Johnson
thanks it works I guess: merge(b1,b2,by='Subject') On Fri, Sep 19, 2014 at 5:03 PM, Uwe Ligges wrote: > See ?merge > > Best, > Uwe Ligges > > > On 19.09.2014 22:58, Adrian Johnson wrote: >> >> Hi: >> Appreciate if I could get some help. >> >> I have two data frames. >> >> I want to combine these

Re: [R] Combining two data frames

2014-09-19 Thread Uwe Ligges
See ?merge Best, Uwe Ligges On 19.09.2014 22:58, Adrian Johnson wrote: Hi: Appreciate if I could get some help. I have two data frames. I want to combine these two dfs bases on first column. df1 : SubjectG1 G2G3 A 10 1 0 B 20 2

[R] Combining two data frames

2014-09-19 Thread Adrian Johnson
Hi: Appreciate if I could get some help. I have two data frames. I want to combine these two dfs bases on first column. df1 : SubjectG1 G2G3 A 10 1 0 B 20 220 df2: Subject m1m2 m3 A 20 9 30 B

Re: [R] combining two data frames (different question)

2008-06-19 Thread John Kane
;[EMAIL PROTECTED]> > Subject: [R] combining two data frames (different question) > To: r-help@r-project.org > Received: Tuesday, June 17, 2008, 6:40 PM > i have two data frames. One data frame contains one column > with the > identificication number of a geographic place. Th

Re: [R] combining two data frames (different question)

2008-06-18 Thread [EMAIL PROTECTED]
Try > ?merge Andrey __ R-help@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.

Re: [R] combining two data frames (different question)

2008-06-18 Thread jim holtman
?merge On Tue, Jun 17, 2008 at 6:40 PM, calundergrad <[EMAIL PROTECTED]> wrote: > > i have two data frames. One data frame contains one column with the > identificication number of a geographic place. The other columns are just > some data about the corresponding geographic place. The other dat

Re: [R] combining two data frames

2008-06-17 Thread Peng Jiang
Hi, haibing . you should try rbind or cbind. Type >help(rbind) or >? rbind in the command line . regards. On 2008-6-18, at 上午6:33, calundergrad wrote: i know this is a very simple question but i have two data frames (one of which is a continuation of the first data frame) and i was just

[R] combining two data frames (different question)

2008-06-17 Thread calundergrad
i have two data frames. One data frame contains one column with the identificication number of a geographic place. The other columns are just some data about the corresponding geographic place. The other data frame also contains one column with the id number of a geographic place. the other co

[R] combining two data frames

2008-06-17 Thread calundergrad
i know this is a very simple question but i have two data frames (one of which is a continuation of the first data frame) and i was just wondering how do you combine those? any simple solution would be helpful. thank you very much -- View this message in context: http://www.nabble.com/combinin