[R] Combining Data Frames

jim holtman
Mon, 16 Jul 2012 17:22:20 -0000

?rbind

On Mon, Jul 16, 2012 at 1:17 PM, Lauren Vogric
<lvogric at grahamcapital.com> wrote:
> I have 2 data tables. Each hold information categorized into
"Date" and "Price." What I need to do is combine the two to
get 2 columns of "Date" and "Price," by continuing the table
downwards with the new rows supplied from the second table. So, for example I
have
> 5/1/12  2
> 5/2/12  5
> As data table 1 and
> 5/3/12 65
> 5/4/12 7
> As data table 2 and I need to create the data table
> 5/1/12  2
> 5/2/12  5
> 5/3/12 65
> 5/4/12 7
>
>
> Any ideas how to do it?
> Thanks!
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



--
Jim Holtman
Data Munger Guru

What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.