[R] combining two data frames (different question)

jim holtman jholtman at gmail.com
Wed Jun 18 13:51:39 CEST 2008


?merge

On Tue, Jun 17, 2008 at 6:40 PM, calundergrad <haibinglin at berkeley.edu> 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 data frame
> also contains one column with the id number of a geographic place.  the
> other columns of the second data frame is other data about the corresponding
> geographic place.
>
> I want to make one data frame which has the id numbers and the corresponding
> data from both the first and second data frames.
>
> how do you do this?
> --
> View this message in context: http://www.nabble.com/combining-two-data-frames-%28different-question%29-tp17956259p17956259.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list