title: I vertically concatenate two files in R but when I did that, I have 3:1 variables instead of 1:1
body: <p>I have merged two files using rbind and merge in R but when I did that, one of the variable was replicated three times instead of one time.I do not know where I did wrong. The rbind works great but I think the merge did not work in vertically concatenate the files.</p>
  
  <p>I did rbind first and then use merge two files and check everything but I do not know where it went wrong.#</p>
  
  <h2>Input Data</h2>
  
  <pre><code> d&lt;-
   structure(list(taxa = c("CARYA", "CATE9", "FRAXINUS", "FRPE", "Juniperus", "JUVI", "QUERCUS", "QUERCUS", "QUERCUS", "QUERCUS", "QUERCUS", "QUERCUS", "QUERCUS", "QUERCUS", "QUERCUS", "QUMA3", "QUSH", "QUST", "SIDER", "SILAR20"), even.image = c(12L, 12L, 4L, 4L, 1L, 1L, 26L, 26L, 26L, 9L, 9L, 9L, 7L, 7L, 7L, 7L, 9L, 26L, 2L, 2L), odd.image = c(6L, 6L, 3L, 3L, 2L, 2L, 10L, 25L, 7L, 10L, 25L, 7L, 10L, 25L, 7L, 10L, 7L, 25L, 1L, 1L)), .Names = c("taxa", "even.image", "odd.image"), row.names = c(NA, 20L), class = "data.frame") 
  
  </code></pre>
  
  <h2>Output format</h2>
  
  <p>The output I am looking is the following:</p>
  
  <pre><code>Species     Even.image   Odd.Image
  QUSH         26           25
  QUST         9             7
  QUMA3        7            10
  QUERCUS      26           25
  QUERCUS      9            7
  QUERCUS      7           10
  </code></pre>
  
  <p>I do not what I am missing when merging EI and OI.EI have Species and even.image and OI have species and odd.image.</p>
  
  <pre><code>Image&lt;- merge(EI,OI)
  </code></pre>