From f9fdc9bee872cba0f9303a149f5531e3fd35f09f Mon Sep 17 00:00:00 2001 From: dmurdoch Date: Thu, 29 Aug 2024 12:48:47 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20dmurdoch?= =?UTF-8?q?/tables@bd009c4d39a39000359ca3b88e4a7bbe255ccfa7=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/HTML.html | 176 +++++++++++++++++---------------------- articles/knitrTables.pdf | Bin 363656 -> 363656 bytes pkgdown.yml | 2 +- 3 files changed, 77 insertions(+), 101 deletions(-) diff --git a/articles/HTML.html b/articles/HTML.html index 86dc5e6..0c8d8e9 100644 --- a/articles/HTML.html +++ b/articles/HTML.html @@ -560,12 +560,12 @@

Fine tuning</style>", doCSS = TRUE) tab - +
@@ -928,33 +928,81 @@

tinytable supportgroup_tt(j = list("Row Label" = 1, "Statistics" = 2:4)) %>% style_tt(i = 3, color = "red", align = "c", line = "bt", line_color = "red") %>% style_tt(i = 5:6, j = 3:4, background = "black", color = "orange") - + - - - -tinytable_h34t7stsbnbucz7eq866 - -
- + function insertSpanRow_h34t7stsbnbucz7eq866(i, colspan, content) { + var table = document.getElementById('tinytable_9dc94va645er44c0k8p3'); + 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
+ newCell.innerHTML = content; + } + function spanCell_9dc94va645er44c0k8p3(i, j, rowspan, colspan) { + var table = document.getElementById("tinytable_9dc94va645er44c0k8p3"); + 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 () { insertSpanRow_h34t7stsbnbucz7eq866(5, 4, 'Subgroup') }); +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(0, 0, 'tinytable_css_id0osc88ap3nbm6a4m4aw4') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(0, 1, 'tinytable_css_id0osc88ap3nbm6a4m4aw4') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(0, 2, 'tinytable_css_idxw7gp3psf6zhmmp7w13w') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(0, 3, 'tinytable_css_idxw7gp3psf6zhmmp7w13w') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(1, 0, 'tinytable_css_idxw7gp3psf6zhmmp7w13w') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(1, 1, 'tinytable_css_idxw7gp3psf6zhmmp7w13w') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(1, 2, 'tinytable_css_idws8dilfgz1c09znmem2b') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(1, 3, 'tinytable_css_idxw7gp3psf6zhmmp7w13w') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(3, 0, 'tinytable_css_id5qtlhlag21urewyc2eop') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(4, 0, 'tinytable_css_id5qtlhlag21urewyc2eop') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(5, 0, 'tinytable_css_id9ksz09od3p848lv7afn0') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(5, 1, 'tinytable_css_id9ksz09od3p848lv7afn0') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(5, 2, 'tinytable_css_id9ksz09od3p848lv7afn0') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(5, 3, 'tinytable_css_id9ksz09od3p848lv7afn0') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(6, 0, 'tinytable_css_id5qtlhlag21urewyc2eop') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(7, 0, 'tinytable_css_id5qtlhlag21urewyc2eop') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(7, 2, 'tinytable_css_idibl5diu3n6bbzoshnbue') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(7, 3, 'tinytable_css_idibl5diu3n6bbzoshnbue') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(8, 0, 'tinytable_css_id5qtlhlag21urewyc2eop') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(8, 2, 'tinytable_css_idibl5diu3n6bbzoshnbue') }) +window.addEventListener('load', function () { styleCell_9dc94va645er44c0k8p3(8, 3, 'tinytable_css_idibl5diu3n6bbzoshnbue') }) + +
+
@@ -1006,79 +1054,7 @@

tinytable support - newCell.innerHTML = content; - } - function spanCell_tinytable_4olspg8l5gya08tpxs7f(i, j, rowspan, colspan) { - var table = document.getElementById("tinytable_h34t7stsbnbucz7eq866"); - 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 () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 0, 'tinytable_css_9svyad9jn7scmwhdtt7i') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 1, 'tinytable_css_9svyad9jn7scmwhdtt7i') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 2, 'tinytable_css_9svyad9jn7scmwhdtt7i') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 3, 'tinytable_css_9svyad9jn7scmwhdtt7i') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 2, 'tinytable_css_hqj4w0ioy0lc1w6vygmi') }) -window.addEventListener('load', function () { insertSpanRow_rm6eduyxl0ztaa91o8a0(5, 4, 'Subgroup') }); -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(3, 0, 'tinytable_css_iyyfbwqdbnr38i6fhyqp') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(4, 0, 'tinytable_css_iyyfbwqdbnr38i6fhyqp') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(6, 0, 'tinytable_css_iyyfbwqdbnr38i6fhyqp') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(7, 0, 'tinytable_css_iyyfbwqdbnr38i6fhyqp') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(8, 0, 'tinytable_css_iyyfbwqdbnr38i6fhyqp') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 0, 'tinytable_css_89eecxpavj13sbxk9hgi') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 1, 'tinytable_css_89eecxpavj13sbxk9hgi') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 2, 'tinytable_css_89eecxpavj13sbxk9hgi') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(1, 3, 'tinytable_css_89eecxpavj13sbxk9hgi') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(0, 0, 'tinytable_css_nlop84sllwu67riupt9a') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(0, 1, 'tinytable_css_nlop84sllwu67riupt9a') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(0, 2, 'tinytable_css_nlop84sllwu67riupt9a') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(0, 3, 'tinytable_css_nlop84sllwu67riupt9a') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(0, 0, 'tinytable_css_n30w3ey1d5a61rptry8g') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(0, 1, 'tinytable_css_n30w3ey1d5a61rptry8g') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(5, 0, 'tinytable_css_5qtlhlag21urewyc2eop') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(5, 1, 'tinytable_css_5qtlhlag21urewyc2eop') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(5, 2, 'tinytable_css_5qtlhlag21urewyc2eop') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(5, 3, 'tinytable_css_5qtlhlag21urewyc2eop') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(7, 2, 'tinytable_css_9ksz09od3p848lv7afn0') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(8, 2, 'tinytable_css_9ksz09od3p848lv7afn0') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(7, 3, 'tinytable_css_9ksz09od3p848lv7afn0') }) -window.addEventListener('load', function () { styleCell_tinytable_4olspg8l5gya08tpxs7f(8, 3, 'tinytable_css_9ksz09od3p848lv7afn0') }) - + diff --git a/articles/knitrTables.pdf b/articles/knitrTables.pdf index 191b689a168a63779e1d2f61f7b68f5dc6157277..be3f79dcc7fc801fe89879807f77b92c48099272 100644 GIT binary patch delta 135 zcmeB}Db_Jltf7Umg{g(Pg=Gut-9{BlLn9Ll6O$-SE`8tp6qm%3R0RzeD<;K0!p^mx3hAx F0syV@B6k1) delta 135 zcmeB}Db_Jltf7Umg{g(Pg=Gut-9{B7BV$7g1B)n4E`8tp6qm%3R0RzeD

Row Label