Skip to content

Commit

Permalink
Deploying to gh-pages from @ 051a88a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Nov 5, 2024
1 parent fe28692 commit f5a97ab
Show file tree
Hide file tree
Showing 41 changed files with 1,655 additions and 1,405 deletions.
148 changes: 81 additions & 67 deletions man/format_tt.html

Large diffs are not rendered by default.

208 changes: 111 additions & 97 deletions man/group_tt.html

Large diffs are not rendered by default.

80 changes: 44 additions & 36 deletions man/rbind2-tinytable-tinytable-method.html
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script>

function styleCell_z103bqq3tsfwv74cnern(i, j, css_id) {
var table = document.getElementById("tinytable_z103bqq3tsfwv74cnern");
function styleCell_ax2ihmetjk42ofoqucwc(i, j, css_id) {
var table = document.getElementById("tinytable_ax2ihmetjk42ofoqucwc");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -509,16 +509,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_z103bqq3tsfwv74cnern');
var table = document.getElementById('tinytable_ax2ihmetjk42ofoqucwc');
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_z103bqq3tsfwv74cnern(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_z103bqq3tsfwv74cnern");
function spanCell_ax2ihmetjk42ofoqucwc(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_ax2ihmetjk42ofoqucwc");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -548,24 +548,26 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 6, j: 0 }, { i: 0, j: 1 }, { i: 6, j: 1 }, { i: 0, j: 2 }, { i: 6, j: 2 }, { i: 0, j: 3 }, { i: 6, j: 3 }, { i: 0, j: 4 }, { i: 6, j: 4 }, ], css_id: 'tinytable_css_p4z2ojvezlxf8p6xjjap',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, { i: 0, j: 4 }, ], css_id: 'tinytable_css_ruys2zg82yplu7guh498',},
{ positions: [ { i: 6, j: 0 }, { i: 6, j: 1 }, { i: 6, j: 2 }, { i: 6, j: 3 }, { i: 6, j: 4 }, ], css_id: 'tinytable_css_rbq6f1owekg671vyzfqs',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_z103bqq3tsfwv74cnern(cell.i, cell.j, group.css_id);
styleCell_ax2ihmetjk42ofoqucwc(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_p4z2ojvezlxf8p6xjjap, .table th.tinytable_css_p4z2ojvezlxf8p6xjjap { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_ruys2zg82yplu7guh498, .table th.tinytable_css_ruys2zg82yplu7guh498 { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
.table td.tinytable_css_rbq6f1owekg671vyzfqs, .table th.tinytable_css_rbq6f1owekg671vyzfqs { border-bottom: solid #d3d8dc 0.1em; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_z103bqq3tsfwv74cnern" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_ax2ihmetjk42ofoqucwc" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -631,8 +633,8 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script>

function styleCell_5h55xwzmwqin5q99pggj(i, j, css_id) {
var table = document.getElementById("tinytable_5h55xwzmwqin5q99pggj");
function styleCell_12uyqod9c4r11jqbqxxg(i, j, css_id) {
var table = document.getElementById("tinytable_12uyqod9c4r11jqbqxxg");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -642,16 +644,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_5h55xwzmwqin5q99pggj');
var table = document.getElementById('tinytable_12uyqod9c4r11jqbqxxg');
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_5h55xwzmwqin5q99pggj(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_5h55xwzmwqin5q99pggj");
function spanCell_12uyqod9c4r11jqbqxxg(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_12uyqod9c4r11jqbqxxg");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -681,24 +683,26 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 6, j: 0 }, { i: 0, j: 1 }, { i: 6, j: 1 }, { i: 0, j: 2 }, { i: 6, j: 2 }, { i: 0, j: 3 }, { i: 6, j: 3 }, { i: 0, j: 4 }, { i: 6, j: 4 }, ], css_id: 'tinytable_css_jm47yr40652nlx5ie76t',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, { i: 0, j: 4 }, ], css_id: 'tinytable_css_udizyhce81nlxetvkt9e',},
{ positions: [ { i: 6, j: 0 }, { i: 6, j: 1 }, { i: 6, j: 2 }, { i: 6, j: 3 }, { i: 6, j: 4 }, ], css_id: 'tinytable_css_9ovilos39nfrthj5ikzs',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_5h55xwzmwqin5q99pggj(cell.i, cell.j, group.css_id);
styleCell_12uyqod9c4r11jqbqxxg(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_jm47yr40652nlx5ie76t, .table th.tinytable_css_jm47yr40652nlx5ie76t { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_udizyhce81nlxetvkt9e, .table th.tinytable_css_udizyhce81nlxetvkt9e { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
.table td.tinytable_css_9ovilos39nfrthj5ikzs, .table th.tinytable_css_9ovilos39nfrthj5ikzs { border-bottom: solid #d3d8dc 0.1em; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_5h55xwzmwqin5q99pggj" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_12uyqod9c4r11jqbqxxg" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -765,8 +769,8 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script>

function styleCell_bylfjiml0mzcns28puuj(i, j, css_id) {
var table = document.getElementById("tinytable_bylfjiml0mzcns28puuj");
function styleCell_3h1ryms7ckkwyp4pz2pp(i, j, css_id) {
var table = document.getElementById("tinytable_3h1ryms7ckkwyp4pz2pp");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -776,16 +780,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_bylfjiml0mzcns28puuj');
var table = document.getElementById('tinytable_3h1ryms7ckkwyp4pz2pp');
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_bylfjiml0mzcns28puuj(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_bylfjiml0mzcns28puuj");
function spanCell_3h1ryms7ckkwyp4pz2pp(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_3h1ryms7ckkwyp4pz2pp");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -815,24 +819,26 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 5, j: 0 }, { i: 0, j: 1 }, { i: 5, j: 1 }, { i: 0, j: 2 }, { i: 5, j: 2 }, { i: 0, j: 3 }, { i: 5, j: 3 }, { i: 0, j: 4 }, { i: 5, j: 4 }, ], css_id: 'tinytable_css_rfxblpth96gmr8mifnnq',},
{ positions: [ { i: 5, j: 0 }, { i: 5, j: 1 }, { i: 5, j: 2 }, { i: 5, j: 3 }, { i: 5, j: 4 }, ], css_id: 'tinytable_css_thgutuqtsogs0yp6yetp',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, { i: 0, j: 3 }, { i: 0, j: 4 }, ], css_id: 'tinytable_css_t6tep41muzwd9rxazbg4',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_bylfjiml0mzcns28puuj(cell.i, cell.j, group.css_id);
styleCell_3h1ryms7ckkwyp4pz2pp(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_rfxblpth96gmr8mifnnq, .table th.tinytable_css_rfxblpth96gmr8mifnnq { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_thgutuqtsogs0yp6yetp, .table th.tinytable_css_thgutuqtsogs0yp6yetp { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_t6tep41muzwd9rxazbg4, .table th.tinytable_css_t6tep41muzwd9rxazbg4 { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_bylfjiml0mzcns28puuj" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_3h1ryms7ckkwyp4pz2pp" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down Expand Up @@ -892,8 +898,8 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script>

function styleCell_wlld6pp2w6qleupiqp6w(i, j, css_id) {
var table = document.getElementById("tinytable_wlld6pp2w6qleupiqp6w");
function styleCell_04y2fiw5bhqufb2yqete(i, j, css_id) {
var table = document.getElementById("tinytable_04y2fiw5bhqufb2yqete");
var cell = table.rows[i]?.cells[j]; // Safe navigation to avoid errors
if (cell) {
console.log(`Styling cell at (${i}, ${j}) with class ${css_id}`);
Expand All @@ -903,16 +909,16 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
}
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_wlld6pp2w6qleupiqp6w');
var table = document.getElementById('tinytable_04y2fiw5bhqufb2yqete');
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_wlld6pp2w6qleupiqp6w(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_wlld6pp2w6qleupiqp6w");
function spanCell_04y2fiw5bhqufb2yqete(i, j, rowspan, colspan) {
var table = document.getElementById("tinytable_04y2fiw5bhqufb2yqete");
const targetRow = table.rows[i];
const targetCell = targetRow.cells[j];
for (let r = 0; r < rowspan; r++) {
Expand Down Expand Up @@ -942,24 +948,26 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>
window.addEventListener('load', function () {
var cellsToStyle = [
// tinytable style arrays after
{ positions: [ { i: 0, j: 0 }, { i: 6, j: 0 }, { i: 0, j: 1 }, { i: 6, j: 1 }, { i: 0, j: 2 }, { i: 6, j: 2 }, ], css_id: 'tinytable_css_8px4k81gjz2xsbxz7up7',},
{ positions: [ { i: 0, j: 0 }, { i: 0, j: 1 }, { i: 0, j: 2 }, ], css_id: 'tinytable_css_sv8bnfqgsfz2gwhwbb43',},
{ positions: [ { i: 6, j: 0 }, { i: 6, j: 1 }, { i: 6, j: 2 }, ], css_id: 'tinytable_css_89g1wsze2bodzockmgde',},
];

// Loop over the arrays to style the cells
cellsToStyle.forEach(function (group) {
group.positions.forEach(function (cell) {
styleCell_wlld6pp2w6qleupiqp6w(cell.i, cell.j, group.css_id);
styleCell_04y2fiw5bhqufb2yqete(cell.i, cell.j, group.css_id);
});
});
});
</script>

<style>
/* tinytable css entries after */
.table td.tinytable_css_8px4k81gjz2xsbxz7up7, .table th.tinytable_css_8px4k81gjz2xsbxz7up7 { border-bottom: solid #d3d8dc 0.1em; }
.table td.tinytable_css_sv8bnfqgsfz2gwhwbb43, .table th.tinytable_css_sv8bnfqgsfz2gwhwbb43 { border-top: solid #d3d8dc 0.1em; border-bottom: solid #d3d8dc 0.05em; }
.table td.tinytable_css_89g1wsze2bodzockmgde, .table th.tinytable_css_89g1wsze2bodzockmgde { border-bottom: solid #d3d8dc 0.1em; }
</style>
<div class="container">
<table class="table table-borderless" id="tinytable_wlld6pp2w6qleupiqp6w" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table table-borderless" id="tinytable_04y2fiw5bhqufb2yqete" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Combine two tiny tables.</caption>
<tbody><tr>
Expand Down
Loading

0 comments on commit f5a97ab

Please sign in to comment.