title: Merge two data frames together that have the same variable names and data types
body: <p>I have tried the <code>merge</code> function to merge two csv files that I imported. They both have the same variable names and data types but each time I run merge all that I get is an object that contains the names of the two data frames. I have tried the following:</p>
  
  <pre><code># ex1
  obj &lt;- merge(obj1, obj2, by=obj)
  # ex2
  obj &lt;- merge(obj1, obj2, all)
  </code></pre>
  
  <p>and several other iterations of the above. </p>
  
  <p>Is merge the correct function?
  If so, what am I doing wrong?</p>