title: Merge Two Arrays in R
body: <p>Suppose I have two arrays, array1 and array2, that look like</p>
  
  <p>array1</p>
  
  <pre><code>        45    46   47    48    49    50
          1.0   1.5  1.3   1.2   0.9   1.1
  </code></pre>
  
  <p>array2</p>
  
  <pre><code>        45    46   47    48    49    50
          2.5   5.5  4.5   5.8   1.5   8.4
  </code></pre>
  
  <p>and I want to merge them into a data frame that looks like:</p>
  
  <pre><code>       1.0  2.5
         1.5  5.5
         1.3  4.5
         1.2  5.8
         0.9  1.5
         1.1  8.4
  </code></pre>
  
  <p>The numbers 45 to 50 don't matter.</p>