[R] question of merging two dataframes

2012-01-31 Thread freezhu8
Suppose I have two data frames A and B A has three variables and B also has three variables. I would like to merge these two database but the requirement to merge is that the value of the second column in database A is less than the value of the second column in database B. Is there a R code to do

Re: [R] question of merging two dataframes

2012-01-31 Thread Tal Galili
Hi there, The command for merging is: merge Can you please clarify by which variable you wish to merge by? Can you maybe use ?dput function in order to give a self contained R code example of your data - and the output you wish to get? Best, Tal Contact

Re: [R] question of merging two dataframes

2012-01-31 Thread Bert Gunter
On Tue, Jan 31, 2012 at 2:24 PM, Tal Galili tal.gal...@gmail.com wrote: Hi there, The command for merging is: merge A fortunes candidate? -- Bert Can you please clarify by which variable you wish to merge by? Can you maybe use ?dput function in order to give a self contained R code