<!DOCTYPE html> 
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>tinytable</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
.table td.tinytable, .table th.tinytable {    border-bottom: solid 0.1em #d3d8dc; }
.table td.tinytable, .table th.tinytable {    text-align: left; }
.table td.tinytable, .table th.tinytable {    text-align: center; }
.table td.tinytable, .table th.tinytable {    text-align: center; }
.table td.tinytable, .table th.tinytable {    border-bottom: solid 0.05em black; }
    </style>
    <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
    <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
    <script>
    MathJax = {
      tex: {
        inlineMath: [['$', '$'], ['\\(', '\\)']]
      },
      svg: {
        fontCache: 'global'
      }
    };
    </script>
  </head>

  <body>
    <div class="container">
      <table class="table table-borderless" id="tinytable" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing='true'>
        <thead>
        
              <tr>
                <th scope="col"> </th>
                <th scope="col">(1)</th>
                <th scope="col">(2)</th>
              </tr>
        </thead>
        
        <tbody>
                <tr>
                  <td>(Intercept)</td>
                  <td>$30.099$ </td>
                  <td>$10.790$ </td>
                </tr>
                <tr>
                  <td>           </td>
                  <td>($1.634$)</td>
                  <td>($5.078$)</td>
                </tr>
                <tr>
                  <td>hp         </td>
                  <td>$-0.068$ </td>
                  <td>$-0.052$ </td>
                </tr>
                <tr>
                  <td>           </td>
                  <td>($0.010$)</td>
                  <td>($0.009$)</td>
                </tr>
                <tr>
                  <td>drat       </td>
                  <td>         </td>
                  <td>$4.698$  </td>
                </tr>
                <tr>
                  <td>           </td>
                  <td>         </td>
                  <td>($1.192$)</td>
                </tr>
                <tr>
                  <td>Num.Obs.   </td>
                  <td>$32$     </td>
                  <td>$32$     </td>
                </tr>
                <tr>
                  <td>R2         </td>
                  <td>$0.602$  </td>
                  <td>$0.741$  </td>
                </tr>
                <tr>
                  <td>R2 Adj.    </td>
                  <td>$0.589$  </td>
                  <td>$0.723$  </td>
                </tr>
                <tr>
                  <td>AIC        </td>
                  <td>$181.2$  </td>
                  <td>$169.5$  </td>
                </tr>
                <tr>
                  <td>BIC        </td>
                  <td>$185.6$  </td>
                  <td>$175.4$  </td>
                </tr>
                <tr>
                  <td>Log.Lik.   </td>
                  <td>$-87.619$</td>
                  <td>$-80.752$</td>
                </tr>
                <tr>
                  <td>F          </td>
                  <td>$45.460$ </td>
                  <td>$41.522$ </td>
                </tr>
                <tr>
                  <td>RMSE       </td>
                  <td>$3.74$   </td>
                  <td>$3.02$   </td>
                </tr>
        </tbody>
      </table>
    </div>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    <script>
      function tinytable(i, j, css_id) {
        var table = document.getElementById("tinytable");
        table.rows[i].cells[j].classList.add(css_id);
      }
      function insertSpanRow(i, colspan, content) {
        var table = document.getElementById('tinytable');
        var newRow = table.insertRow(i);
        var newCell = newRow.insertCell(0);
        newCell.setAttribute("colspan", colspan);
        // newCell.innerText = content;
        // this may be unsafe, but innerText does not interpret <br>
        newCell.innerHTML = content;
      }
      function spanCell_tinytable(i, j, rowspan, colspan) {
        var table = document.getElementById("tinytable");
        const targetRow = table.rows[i];
        const targetCell = targetRow.cells[j];
        for (let r = 0; r < rowspan; r++) {
          // Only start deleting cells to the right for the first row (r == 0)
          if (r === 0) {
            // Delete cells to the right of the target cell in the first row
            for (let c = colspan - 1; c > 0; c--) {
              if (table.rows[i + r].cells[j + c]) {
                table.rows[i + r].deleteCell(j + c);
              }
            }
          }
          // For rows below the first, delete starting from the target column
          if (r > 0) {
            for (let c = colspan - 1; c >= 0; c--) {
              if (table.rows[i + r] && table.rows[i + r].cells[j]) {
                table.rows[i + r].deleteCell(j);
              }
            }
          }
        }
        // Set rowspan and colspan of the target cell
        targetCell.rowSpan = rowspan;
        targetCell.colSpan = colspan;
      }

window.addEventListener('load', function () { tinytable(0, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(0, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(0, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(0, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(1, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(2, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(3, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(4, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(5, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(6, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(7, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(8, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(9, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(10, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(11, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(12, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(13, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(14, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(0, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(1, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(2, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(3, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(4, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(5, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(6, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(7, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(8, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(9, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(10, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(11, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(12, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(13, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(14, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(0, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(1, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(2, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(3, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(4, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(5, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(6, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(7, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(8, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(9, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(10, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(11, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(12, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(13, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(14, 2, 'tinytable') })
window.addEventListener('load', function () { tinytable(6, 0, 'tinytable') })
window.addEventListener('load', function () { tinytable(6, 1, 'tinytable') })
window.addEventListener('load', function () { tinytable(6, 2, 'tinytable') })
    </script>

  </body>

</html>
