[R] Merging files function

From: Ahamarshan jn <ashgene_at_yahoo.co.in>
Date: Thu 01 Jun 2006 - 23:12:16 EST


hi list,

This question must be very basic but I am just 3 days old to R, so I think i can ask. I am trying to find a function to merge two
tables of data in two different files as one.

 Does merge function only fills in colums between two table where data is missing or is there a way that merge can be used to merge data between two matrixes with common dimensions.

say i have

   v1 v2 v3 v4
h1
h2
h3
h4
h5

and and another table with

   x1 x2 x3 x4
h1
h2
h3
h4
h5

can i merge the data as

   v1 x1 v2 x2 v3 x3 v4 x4
h1
h2
h3
h4
h5

Thanks



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 01 23:18:23 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 02 Jun 2006 - 02:10:32 EST.

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