Re: [R] combining two data frames (different question)

From: jim holtman <jholtman_at_gmail.com>
Date: Wed, 18 Jun 2008 07:51:39 -0400

?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?

______________________________________________
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.
Received on Wed 18 Jun 2008 - 11:59:09 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 18 Jun 2008 - 12:30:44 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive