Skip to content

Commit

Permalink
Deploying to gh-pages from @ ff41ebb 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentarelbundock committed Jan 22, 2024
1 parent c12d689 commit 08e5090
Show file tree
Hide file tree
Showing 22 changed files with 1,044 additions and 897 deletions.
Binary file modified freeze.rds
Binary file not shown.
18 changes: 9 additions & 9 deletions man/format_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tinytable_dm3nzxhtw1qpjjo0de2j</title>
<title>tinytable_pcjh9ehr4sqf2tedn7ru</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
</style>
Expand All @@ -439,7 +439,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>


<div class="container">
<table class="table" id="tinytable_dm3nzxhtw1qpjjo0de2j" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table" id="tinytable_pcjh9ehr4sqf2tedn7ru" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand All @@ -450,29 +450,29 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<tbody>
<tr>
<td>10 000</td>
<td> 9 999</td>
<td>10 001</td>
<td>10 001</td>
</tr>
<tr>
<td>10 000</td>
<td>10 001</td>
<td> 9 999</td>
</tr>
<tr>
<td>10 000</td>
<td>10 000</td>
<td> 9 999</td>
</tr>
</tbody>
</table>
</div>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
function styleCell_dm3nzxhtw1qpjjo0de2j(i, j, css_id) {
var table = document.getElementById("tinytable_dm3nzxhtw1qpjjo0de2j");
function styleCell_pcjh9ehr4sqf2tedn7ru(i, j, css_id) {
var table = document.getElementById("tinytable_pcjh9ehr4sqf2tedn7ru");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_dm3nzxhtw1qpjjo0de2j');
var table = document.getElementById('tinytable_pcjh9ehr4sqf2tedn7ru');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
Expand Down
79 changes: 53 additions & 26 deletions man/plot_tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,12 +240,15 @@ <h3 class="anchored" data-anchor-id="usage">Usage</h3>
x,
i = NULL,
j = NULL,
fun = NULL,
data = NULL,
color = "black",
xlim = NULL,
height = 1,
plot_asp = 1/3,
plot_data = NULL,
plot_fun = NULL,
path_img = NULL,
path_assets = "tinytable_assets"
asp = 1/3,
images = NULL,
assets = "tinytable_assets",
...
)
</code></pre>
</section>
Expand Down Expand Up @@ -279,63 +282,87 @@ <h3 class="anchored" data-anchor-id="arguments">Arguments</h3>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_height">height</code>
<code id="plot_tt_:_fun">fun</code>
</td>
<td>
Numeric, the height of the images in the table. Default is 2.
<p>Optional, a list of functions to generate plots from the data in <code>plot_data</code>. Valid functions include:</p>
<ul>
<li>
<p>Functions that return <code>ggplot2</code> objects.</p>
</li>
<li>
<p>Functions that return another function which generates a base <code>R</code> plot, ex: <code>function(x) {function() hist(x)}</code></p>
</li>
<li>
<p>See the tutorial on the <code>tinytable</code> website for more information.</p>
</li>
</ul>
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_plot_asp">plot_asp</code>
<code id="plot_tt_:_data">data</code>
</td>
<td>
Numeric, aspect ratio of the plots (height / width).
Optional, a list of data frames to be used with a custom plotting function.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_plot_data">plot_data</code>
<code id="plot_tt_:_xlim">xlim</code>
</td>
<td>
Optional, a list of data frames to be used with a custom plotting function.
Numeric vector of length 2.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_plot_fun">plot_fun</code>
<code id="plot_tt_:_height">height</code>
</td>
<td>
<p>Optional, a list of functions to generate plots from the data in <code>plot_data</code>. Valid functions include:</p>
<ul>
<li>
<p>Functions that return <code>ggplot2</code> objects.</p>
</li>
<li>
<p>Functions that return another function which generates a base <code>R</code> plot, ex: <code>function(x) {function() hist(x)}</code></p>
</li>
<li>
<p>See the tutorial on the <code>tinytable</code> website for more information.</p>
</li>
</ul>
Numeric, the height of the images in the table in em units.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_asp">asp</code>
</td>
<td>
Numeric, aspect ratio of the plots (height / width).
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_path_img">path_img</code>
<code id="plot_tt_:_images">images</code>
</td>
<td>
Character vector, the paths to the images to be inserted. Paths are relative to the main table file or Quarto (Rmarkdown) document.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_path_assets">path_assets</code>
<code id="plot_tt_:_assets">assets</code>
</td>
<td>
Character, the directory to store generated assets.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_..."></code>
</td>
<td>
Extra arguments are passed to the function in <code>fun</code>. Important: Custom plotting functions must always have <code></code> as an argument.
</td>
</tr>
<tr>
<td style="white-space: nowrap; font-family: monospace; vertical-align: top">
<code id="plot_tt_:_string">string</code>
</td>
<td>
Name of color to use for inline plots (passed to the <code>col</code> argument base <code>graphics</code> plots in <code>R</code>).
</td>
</tr>

</tbody></table>
</section>
Expand Down
20 changes: 10 additions & 10 deletions man/tt.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tinytable_j1wjhssjyg670qlros7k</title>
<title>tinytable_caqy0t6n1k9d2dffcox3</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
</style>
Expand All @@ -422,7 +422,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>


<div class="container">
<table class="table" id="tinytable_j1wjhssjyg670qlros7k" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table" id="tinytable_caqy0t6n1k9d2dffcox3" style="width: auto; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>

<tr>
Expand Down Expand Up @@ -469,12 +469,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
function styleCell_j1wjhssjyg670qlros7k(i, j, css_id) {
var table = document.getElementById("tinytable_j1wjhssjyg670qlros7k");
function styleCell_caqy0t6n1k9d2dffcox3(i, j, css_id) {
var table = document.getElementById("tinytable_caqy0t6n1k9d2dffcox3");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_j1wjhssjyg670qlros7k');
var table = document.getElementById('tinytable_caqy0t6n1k9d2dffcox3');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
Expand All @@ -500,7 +500,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>tinytable_ticj3ymopid3059msx8z</title>
<title>tinytable_1v1wkdl6zt3uum2cp1tg</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<style>
</style>
Expand All @@ -520,7 +520,7 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>


<div class="container">
<table class="table" id="tinytable_ticj3ymopid3059msx8z" style="table-layout: fixed; width: 50% !important; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<table class="table" id="tinytable_1v1wkdl6zt3uum2cp1tg" style="table-layout: fixed; width: 50% !important; margin-left: auto; margin-right: auto;" data-quarto-disable-processing="true">
<thead>
</thead><caption>Data about cars.</caption>
<tbody><tr>
Expand Down Expand Up @@ -567,12 +567,12 @@ <h3 class="anchored" data-anchor-id="examples">Examples</h3>

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script>
function styleCell_ticj3ymopid3059msx8z(i, j, css_id) {
var table = document.getElementById("tinytable_ticj3ymopid3059msx8z");
function styleCell_1v1wkdl6zt3uum2cp1tg(i, j, css_id) {
var table = document.getElementById("tinytable_1v1wkdl6zt3uum2cp1tg");
table.rows[i].cells[j].classList.add(css_id);
}
function insertSpanRow(i, colspan, content) {
var table = document.getElementById('tinytable_ticj3ymopid3059msx8z');
var table = document.getElementById('tinytable_1v1wkdl6zt3uum2cp1tg');
var newRow = table.insertRow(i);
var newCell = newRow.insertCell(0);
newCell.setAttribute("colspan", colspan);
Expand Down
Loading

0 comments on commit 08e5090

Please sign in to comment.