Re: [R] merge 2 data.frames in dependence of 2 values

2014-11-13 Thread Michael Dewey
On 13/11/2014 14:02, Matthias Weber wrote: Hello togehter, i have a little problem. Maybe anyone can help me. I think you might find ?merge enlightening Indeed given that the word merge occurs in your subject line and your text it is surprising you have not already found it. I have 2 d

Re: [R] merge 2 data.frames in dependence of 2 values

2014-11-13 Thread William Dunlap
merge(df1, df2, all=TRUE) Bill Dunlap TIBCO Software wdunlap tibco.com On Thu, Nov 13, 2014 at 6:02 AM, Matthias Weber < matthias.we...@fntsoftware.com> wrote: > Hello togehter, > > i have a little problem. Maybe anyone can help me. > > I have 2 data.frames, which look like as follows: > First:

Re: [R] merge 2 data.frames in dependence of 2 values

2014-11-13 Thread Rui Barradas
Hello, See ?merge, in particular the argument 'all'. dat1 <- read.table(text = " NAMEMONTH BONUS 1 Andy 2014-10 100 2 Pete 2014-10200 3 Marc2014-10300 4 Andy2014-11400 ", header = TRUE, stringsAsFactors = FALSE)

[R] merge 2 data.frames in dependence of 2 values

2014-11-13 Thread Matthias Weber
Hello togehter, i have a little problem. Maybe anyone can help me. I have 2 data.frames, which look like as follows: First: NAMEMONTH BONUS 1 Andy 2014-10 100 2 Pete 2014-10200 3 Marc2014-10300 4 Andy2014-11400 Se

Re: [R] merge 2 data.frames

2013-02-06 Thread Alice Xiong
x<-matrix(c(1,11,11,2,3,4),2,3) y<-matrix(x(7,8,9,10,11,12),2,3) if you want to merge them by row, then use: rbind(x,y) if you want to merge them by column, then use cbind(x,y) hope this can help you out* Alice Xiong On Wed, Feb 6, 2013 at 8:55 AM, Mat wrote: > Hello together, > > i have

Re: [R] merge 2 data.frames

2013-02-06 Thread Eik Vettorazzi
Hi Mat, just have a look at ?rbind cheers. Am 06.02.2013 15:55, schrieb Mat: > Hello together, > > i have probably a easy question, but how can i sum 2 data.frames among each > other. > I have 2 data.frames which look like this one: > > Cu.No. place level > 1 123

[R] merge 2 data.frames

2013-02-06 Thread Mat
Hello together, i have probably a easy question, but how can i sum 2 data.frames among each other. I have 2 data.frames which look like this one: Cu.No. place level 1 123London A 2111 Paris B Cu.No. place level 1 333