[R] merging two data sets with no column header

From: kayj <kjaja27_at_yahoo.com>
Date: Mon, 02 Jun 2008 16:45:05 -0700 (PDT)

I have two data sets data1 and data2 with no column names( No header). The first coluimn in both data sets represents the case ID. How can I tell R to merge the two data sets by the case ID if there is no header? Also, In data1 I have more cases and I would like the result of the merge to have all the cases in both data1 and data2. there may be some duplicate cases.

I appreciate if someone can help.

Thanks

-- 
View this message in context: http://www.nabble.com/merging-two-data-sets-with-no-column-header-tp17613296p17613296.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.
Received on Tue 03 Jun 2008 - 01:53:07 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 Tue 03 Jun 2008 - 23:30:42 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