Re: [R] need help combining two datasets

2009-01-28 Thread Dieter Menne
Adam D. I. Kramer ilovebacon.org> writes: > > You probably want the merge function. > > ?merge > > On Wed, 28 Jan 2009, Somani, Dinesh K wrote: > > > I have two CSV files, one with daily stock returns using method A {date, > > stock, returnA, some uninteresting columns}, and another with meth

Re: [R] need help combining two datasets

2009-01-27 Thread Adam D. I. Kramer
You probably want the merge function. ?merge --Adam On Wed, 28 Jan 2009, Somani, Dinesh K wrote: Hi I am a new R user. I have two CSV files, one with daily stock returns using method A {date, stock, returnA, some uninteresting columns}, and another with method B {date, stock, returnB, more

[R] need help combining two datasets

2009-01-27 Thread Somani, Dinesh K
Hi I am a new R user. I have two CSV files, one with daily stock returns using method A {date, stock, returnA, some uninteresting columns}, and another with method B {date, stock, returnB, more columns}. Both have different sets of stocks. I want to combine the two into a single data table,