Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Nov 4, 2020
1 parent 7207250 commit f049e4e
Show file tree
Hide file tree
Showing 16 changed files with 2,447 additions and 52 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/bookdown-lite/bookdown-lite.rds
Binary file not shown.
63 changes: 38 additions & 25 deletions docs/bookdown-lite/docs/bookdown-lite.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Title</title>
<meta name="description" content="Description" />
<meta name="generator" content="bookdown 0.20 and GitBook 2.6.7" />
<meta name="generator" content="bookdown 0.21 and GitBook 2.6.7" />

<meta property="og:title" content="Title" />
<meta property="og:type" content="book" />
Expand All @@ -32,7 +32,7 @@



<script src="libs/header-attrs-2.3/header-attrs.js"></script>
<script src="libs/header-attrs-2.5/header-attrs.js"></script>
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
Expand All @@ -51,9 +51,11 @@


<script src="libs/accessible-code-block-0.0.1/empty-anchor.js"></script>
<script src="libs/htmlwidgets-1.5.1/htmlwidgets.js"></script>
<link href="libs/anchor-sections-1.0/anchor-sections.css" rel="stylesheet" />
<script src="libs/anchor-sections-1.0/anchor-sections.js"></script>
<script src="libs/htmlwidgets-1.5.2/htmlwidgets.js"></script>
<link href="libs/datatables-css-0.0.0/datatables-crosstalk.css" rel="stylesheet" />
<script src="libs/datatables-binding-0.14/datatables.js"></script>
<script src="libs/datatables-binding-0.16/datatables.js"></script>
<link href="libs/dt-core-1.10.20/css/jquery.dataTables.min.css" rel="stylesheet" />
<link href="libs/dt-core-1.10.20/css/jquery.dataTables.extra.css" rel="stylesheet" />
<script src="libs/dt-core-1.10.20/js/jquery.dataTables.min.js"></script>
Expand Down Expand Up @@ -361,6 +363,14 @@
var rCodeBlocks = $('pre.sourceCode, pre.r, pre.python, pre.bash, pre.sql, pre.cpp, pre.stan');
rCodeBlocks.each(function() {

// if code block has been labeled with class `fold-show`, show the code on init!
var classList = $(this).attr('class').split(/\s+/);
for (var i = 0; i < classList.length; i++) {
if (classList[i] === 'fold-show') {
show = true;
}
}

// create a collapsable div to wrap the code in
var div = $('<div class="collapse r-code-collapse"></div>');
if (show)
Expand Down Expand Up @@ -388,6 +398,9 @@

div.before(buttonRow);

// hack: return show to false, otherwise all next codeBlocks will be shown!
show = false;

// update state of button on show/hide
div.on('hidden.bs.collapse', function () {
showCodeText.text('Code');
Expand Down Expand Up @@ -901,7 +914,7 @@ <h1>
<div id="header">
<h1 class="title">Title</h1>
<p class="author"><em><a href="https://github.com/author-name">Author name</a></em></p>
<p class="date"><em>Last updated: 14 August, 2020</em></p>
<p class="date"><em>Last updated: 04 November, 2020</em></p>
</div>
<div id="intro" class="section level1 unnumbered" number="">
<h1>Intro</h1>
Expand All @@ -924,8 +937,8 @@ <h1>Analysis</h1>
<p>A nice table example:</p>
</div>
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1"></a>DT<span class="op">::</span><span class="kw">datatable</span>(mtcars, <span class="dt">options =</span> <span class="kw">list</span>(<span class="dt">pageLength =</span> <span class="dv">3</span>))</span></code></pre></div>
<div id="htmlwidget-6e5d6d31b903e3e56699" style="width:100%;height:auto;" class="datatables html-widget"></div>
<script type="application/json" data-for="htmlwidget-6e5d6d31b903e3e56699">{"x":{"filter":"none","data":[["Mazda RX4","Mazda RX4 Wag","Datsun 710","Hornet 4 Drive","Hornet Sportabout","Valiant","Duster 360","Merc 240D","Merc 230","Merc 280","Merc 280C","Merc 450SE","Merc 450SL","Merc 450SLC","Cadillac Fleetwood","Lincoln Continental","Chrysler Imperial","Fiat 128","Honda Civic","Toyota Corolla","Toyota Corona","Dodge Challenger","AMC Javelin","Camaro Z28","Pontiac Firebird","Fiat X1-9","Porsche 914-2","Lotus Europa","Ford Pantera L","Ferrari Dino","Maserati Bora","Volvo 142E"],[21,21,22.8,21.4,18.7,18.1,14.3,24.4,22.8,19.2,17.8,16.4,17.3,15.2,10.4,10.4,14.7,32.4,30.4,33.9,21.5,15.5,15.2,13.3,19.2,27.3,26,30.4,15.8,19.7,15,21.4],[6,6,4,6,8,6,8,4,4,6,6,8,8,8,8,8,8,4,4,4,4,8,8,8,8,4,4,4,8,6,8,4],[160,160,108,258,360,225,360,146.7,140.8,167.6,167.6,275.8,275.8,275.8,472,460,440,78.7,75.7,71.1,120.1,318,304,350,400,79,120.3,95.1,351,145,301,121],[110,110,93,110,175,105,245,62,95,123,123,180,180,180,205,215,230,66,52,65,97,150,150,245,175,66,91,113,264,175,335,109],[3.9,3.9,3.85,3.08,3.15,2.76,3.21,3.69,3.92,3.92,3.92,3.07,3.07,3.07,2.93,3,3.23,4.08,4.93,4.22,3.7,2.76,3.15,3.73,3.08,4.08,4.43,3.77,4.22,3.62,3.54,4.11],[2.62,2.875,2.32,3.215,3.44,3.46,3.57,3.19,3.15,3.44,3.44,4.07,3.73,3.78,5.25,5.424,5.345,2.2,1.615,1.835,2.465,3.52,3.435,3.84,3.845,1.935,2.14,1.513,3.17,2.77,3.57,2.78],[16.46,17.02,18.61,19.44,17.02,20.22,15.84,20,22.9,18.3,18.9,17.4,17.6,18,17.98,17.82,17.42,19.47,18.52,19.9,20.01,16.87,17.3,15.41,17.05,18.9,16.7,16.9,14.5,15.5,14.6,18.6],[0,0,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,1,0,0,0,1],[1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1],[4,4,4,3,3,3,3,4,4,4,4,3,3,3,3,3,3,4,4,4,3,3,3,3,3,4,5,5,5,5,5,4],[4,4,1,1,2,1,4,2,2,4,4,3,3,3,4,4,4,1,2,1,1,2,2,4,2,1,2,2,4,6,8,2]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>mpg<\/th>\n <th>cyl<\/th>\n <th>disp<\/th>\n <th>hp<\/th>\n <th>drat<\/th>\n <th>wt<\/th>\n <th>qsec<\/th>\n <th>vs<\/th>\n <th>am<\/th>\n <th>gear<\/th>\n <th>carb<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"pageLength":3,"columnDefs":[{"className":"dt-right","targets":[1,2,3,4,5,6,7,8,9,10,11]},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false,"lengthMenu":[3,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
<div id="htmlwidget-34548225aa4e3e7e91f1" style="width:100%;height:auto;" class="datatables html-widget"></div>
<script type="application/json" data-for="htmlwidget-34548225aa4e3e7e91f1">{"x":{"filter":"none","data":[["Mazda RX4","Mazda RX4 Wag","Datsun 710","Hornet 4 Drive","Hornet Sportabout","Valiant","Duster 360","Merc 240D","Merc 230","Merc 280","Merc 280C","Merc 450SE","Merc 450SL","Merc 450SLC","Cadillac Fleetwood","Lincoln Continental","Chrysler Imperial","Fiat 128","Honda Civic","Toyota Corolla","Toyota Corona","Dodge Challenger","AMC Javelin","Camaro Z28","Pontiac Firebird","Fiat X1-9","Porsche 914-2","Lotus Europa","Ford Pantera L","Ferrari Dino","Maserati Bora","Volvo 142E"],[21,21,22.8,21.4,18.7,18.1,14.3,24.4,22.8,19.2,17.8,16.4,17.3,15.2,10.4,10.4,14.7,32.4,30.4,33.9,21.5,15.5,15.2,13.3,19.2,27.3,26,30.4,15.8,19.7,15,21.4],[6,6,4,6,8,6,8,4,4,6,6,8,8,8,8,8,8,4,4,4,4,8,8,8,8,4,4,4,8,6,8,4],[160,160,108,258,360,225,360,146.7,140.8,167.6,167.6,275.8,275.8,275.8,472,460,440,78.7,75.7,71.1,120.1,318,304,350,400,79,120.3,95.1,351,145,301,121],[110,110,93,110,175,105,245,62,95,123,123,180,180,180,205,215,230,66,52,65,97,150,150,245,175,66,91,113,264,175,335,109],[3.9,3.9,3.85,3.08,3.15,2.76,3.21,3.69,3.92,3.92,3.92,3.07,3.07,3.07,2.93,3,3.23,4.08,4.93,4.22,3.7,2.76,3.15,3.73,3.08,4.08,4.43,3.77,4.22,3.62,3.54,4.11],[2.62,2.875,2.32,3.215,3.44,3.46,3.57,3.19,3.15,3.44,3.44,4.07,3.73,3.78,5.25,5.424,5.345,2.2,1.615,1.835,2.465,3.52,3.435,3.84,3.845,1.935,2.14,1.513,3.17,2.77,3.57,2.78],[16.46,17.02,18.61,19.44,17.02,20.22,15.84,20,22.9,18.3,18.9,17.4,17.6,18,17.98,17.82,17.42,19.47,18.52,19.9,20.01,16.87,17.3,15.41,17.05,18.9,16.7,16.9,14.5,15.5,14.6,18.6],[0,0,1,1,0,1,0,1,1,1,1,0,0,0,0,0,0,1,1,1,1,0,0,0,0,1,0,1,0,0,0,1],[1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1],[4,4,4,3,3,3,3,4,4,4,4,3,3,3,3,3,3,4,4,4,3,3,3,3,3,4,5,5,5,5,5,4],[4,4,1,1,2,1,4,2,2,4,4,3,3,3,4,4,4,1,2,1,1,2,2,4,2,1,2,2,4,6,8,2]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>mpg<\/th>\n <th>cyl<\/th>\n <th>disp<\/th>\n <th>hp<\/th>\n <th>drat<\/th>\n <th>wt<\/th>\n <th>qsec<\/th>\n <th>vs<\/th>\n <th>am<\/th>\n <th>gear<\/th>\n <th>carb<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"pageLength":3,"columnDefs":[{"className":"dt-right","targets":[1,2,3,4,5,6,7,8,9,10,11]},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false,"lengthMenu":[3,10,25,50,100]}},"evals":[],"jsHooks":[]}</script>
<div id="sub-analysis" class="section level2 unnumbered" number="">
<h2>Sub analysis</h2>
<blockquote>
Expand Down Expand Up @@ -1005,10 +1018,10 @@ <h1>Conclusion</h1>
</div>
<div id="r-session-info" class="section level1 unnumbered" number="">
<h1>R session info</h1>
<div class="sourceCode" id="cb5"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1"></a>xfun<span class="op">::</span><span class="kw">session_info</span>()</span></code></pre></div>
<div class="sourceCode" id="cb5"><pre class="sourceCode r fold-show"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1"></a>xfun<span class="op">::</span><span class="kw">session_info</span>()</span></code></pre></div>
<pre><code>R version 3.6.3 (2020-02-29)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.5 LTS
Running under: Ubuntu 20.04.1 LTS

Locale:
LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
Expand All @@ -1019,26 +1032,26 @@ <h1>R session info</h1>
LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

Package version:
assertthat_0.2.1 backports_1.1.8 base64enc_0.1.3 BH_1.72.0.3
bookdown_0.20 callr_3.4.3 cli_2.0.2 colorspace_1.4-1
assertthat_0.2.1 backports_1.1.10 base64enc_0.1.3 BH_1.72.0.3
bookdown_0.21 callr_3.5.1 cli_2.1.0 colorspace_1.4-1
compiler_3.6.3 crayon_1.3.4 crosstalk_1.1.0.1 desc_1.2.0
digest_0.6.25 dplyr_1.0.0 DT_0.14 ellipsis_0.3.1
digest_0.6.27 dplyr_1.0.2 DT_0.16 ellipsis_0.3.1
evaluate_0.14 fansi_0.4.1 farver_2.0.3 generics_0.0.2
ggplot2_3.3.2 glue_1.4.1 graphics_3.6.3 grDevices_3.6.3
ggplot2_3.3.2 glue_1.4.2 graphics_3.6.3 grDevices_3.6.3
grid_3.6.3 gtable_0.3.0 highr_0.8 htmltools_0.5.0
htmlwidgets_1.5.1 isoband_0.2.2 jsonlite_1.7.0 knitr_1.29
labeling_0.3 later_1.1.0.1 lattice_0.20-41 lazyeval_0.2.2
lifecycle_0.2.0 magrittr_1.5 markdown_1.1 MASS_7.3.51.6
Matrix_1.2-18 methods_3.6.3 mgcv_1.8-31 mime_0.9
munsell_0.5.0 nlme_3.1-148 pillar_1.4.4 pkgbuild_1.0.8
htmlwidgets_1.5.2 isoband_0.2.2 jsonlite_1.7.1 knitr_1.30
labeling_0.4.2 later_1.1.0.1 lattice_0.20-41 lazyeval_0.2.2
lifecycle_0.2.0 magrittr_1.5 markdown_1.1 MASS_7.3.53
Matrix_1.2-18 methods_3.6.3 mgcv_1.8-33 mime_0.9
munsell_0.5.0 nlme_3.1-149 pillar_1.4.6 pkgbuild_1.1.0
pkgconfig_2.0.3 pkgload_1.1.0 praise_1.0.0 prettyunits_1.1.1
processx_3.4.2 promises_1.1.1 ps_1.3.3 purrr_0.3.4
R6_2.4.1 RColorBrewer_1.1.2 Rcpp_1.0.4.6 rlang_0.4.6
rmarkdown_2.3 rprojroot_1.3.2 rstudioapi_0.11 scales_1.1.1
splines_3.6.3 stats_3.6.3 stringi_1.4.6 stringr_1.4.0
testthat_2.3.2 tibble_3.0.1 tidyselect_1.1.0 tinytex_0.24
tools_3.6.3 utf8_1.1.4 utils_3.6.3 vctrs_0.3.1
viridisLite_0.3.0 withr_2.2.0 xfun_0.15 yaml_2.2.1 </code></pre>
processx_3.4.4 promises_1.1.1 ps_1.4.0 purrr_0.3.4
R6_2.4.1 RColorBrewer_1.1.2 Rcpp_1.0.5 rlang_0.4.8
rmarkdown_2.5 rprojroot_1.3.2 rstudioapi_0.11 scales_1.1.1
splines_3.6.3 stats_3.6.3 stringi_1.5.3 stringr_1.4.0
testthat_2.3.2 tibble_3.0.4 tidyselect_1.1.0 tinytex_0.26
tools_3.6.3 utf8_1.1.4 utils_3.6.3 vctrs_0.3.4
viridisLite_0.3.0 withr_2.3.0 xfun_0.18 yaml_2.2.1 </code></pre>
</div>
<div id="references" class="section level1 unnumbered" number="">
<h1>References</h1>
Expand Down
Loading

0 comments on commit f049e4e

Please sign in to comment.