title: Combine two single rows of data horizontally in r
body: <p>I'm new to R so this probably has a simple solution, but I can't find it. I have two datasets:</p>
  <p>Dataset 1:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">A</th>
  <th style="text-align: center;">B</th>
  <th style="text-align: right;">C</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">2</td>
  <td style="text-align: right;">3</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>Dataset 2:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">X</th>
  <th style="text-align: center;">Y</th>
  <th style="text-align: right;">Z</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">4</td>
  <td style="text-align: center;">5</td>
  <td style="text-align: right;">6</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>and I want to get</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">A</th>
  <th style="text-align: center;">B</th>
  <th style="text-align: right;">C</th>
  <th style="text-align: left;">X</th>
  <th style="text-align: center;">Y</th>
  <th style="text-align: right;">Z</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">2</td>
  <td style="text-align: right;">3</td>
  <td style="text-align: left;">4</td>
  <td style="text-align: center;">5</td>
  <td style="text-align: right;">6</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>The dataset is just one row each.</p>