Skip to content

Commit

Permalink
1.31
Browse files Browse the repository at this point in the history
  • Loading branch information
bougioukas committed Aug 6, 2023
1 parent 2b376bf commit 9be6e86
Show file tree
Hide file tree
Showing 46 changed files with 1,788 additions and 750 deletions.
4 changes: 2 additions & 2 deletions _book/anova.html
Original file line number Diff line number Diff line change
Expand Up @@ -479,8 +479,8 @@ <h1 class="title"><span id="sec-anova" class="quarto-section-identifier"><span c
</div>
<div class="cell">
<div id="fig-dataDWL" class="quarto-figure quarto-figure-center anchored">
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-0ad882c7955f5e500b2e" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-0ad882c7955f5e500b2e">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60"],[9.9,9.6,8,4.9,10.2,9,9.800000000000001,10.8,6.2,8.300000000000001,12.9,11.8,5.5,9.300000000000001,11.5,9.5,3.8,11.5,9.199999999999999,4.5,8.9,5.2,8.199999999999999,7.5,12.7,10,10,11.7,8.199999999999999,12.7,10.8,10.2,14.4,8.699999999999999,12.2,12.9,13,15.1,14.5,13,12.5,10.8,10.5,12.2,10.9,13.2,9.5,10.6,9.9,9.5,10.5,11.8,5.8,10,11.6,11.8,7.1,9.4,13.7,13.7],["A","A","A","A","A","A","A","A","A","A","A","A","A","A","A","B","B","B","B","B","B","B","B","B","B","B","B","B","B","B","C","C","C","C","C","C","C","C","C","C","C","C","C","C","C","D","D","D","D","D","D","D","D","D","D","D","D","D","D","D"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>WeightLoss<\/th>\n <th>Diet<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;22.1: Table with data from “dataDWL” file.</figcaption></figure>
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-07f86844299967163415" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-07f86844299967163415">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60"],[9.9,9.6,8,4.9,10.2,9,9.800000000000001,10.8,6.2,8.300000000000001,12.9,11.8,5.5,9.300000000000001,11.5,9.5,3.8,11.5,9.199999999999999,4.5,8.9,5.2,8.199999999999999,7.5,12.7,10,10,11.7,8.199999999999999,12.7,10.8,10.2,14.4,8.699999999999999,12.2,12.9,13,15.1,14.5,13,12.5,10.8,10.5,12.2,10.9,13.2,9.5,10.6,9.9,9.5,10.5,11.8,5.8,10,11.6,11.8,7.1,9.4,13.7,13.7],["A","A","A","A","A","A","A","A","A","A","A","A","A","A","A","B","B","B","B","B","B","B","B","B","B","B","B","B","B","B","C","C","C","C","C","C","C","C","C","C","C","C","C","C","C","D","D","D","D","D","D","D","D","D","D","D","D","D","D","D"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>WeightLoss<\/th>\n <th>Diet<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;22.1: Table with data from “dataDWL” file.</figcaption></figure>
</div>
</div>
<p>We inspect the data and the type of variables:</p>
Expand Down
68 changes: 41 additions & 27 deletions _book/calculations.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _book/chi_square.html

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions _book/correlation.html

Large diffs are not rendered by default.

291 changes: 165 additions & 126 deletions _book/descriptive.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _book/fisher_exact.html
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ <h1 class="title"><span id="sec-fisher_exact" class="quarto-section-identifier">
</div>
<div class="cell">
<div id="fig-meldata" class="quarto-figure quarto-figure-center anchored">
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-214cff2fb459e740f3eb" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-214cff2fb459e740f3eb">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28"],["A","A","A","B","A","B","B","A","A","A","B","A","B","B","A","A","B","B","B","A","B","A","A","B","B","A","B","A"],["no","no","no","yes","no","no","no","no","yes","no","no","no","yes","no","no","no","no","no","no","no","no","no","no","yes","no","yes","no","no"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>treatment<\/th>\n <th>bleeding<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;29.1: Table with data from “meldata” file.</figcaption></figure>
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-aebe28e0cdf4183558af" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-aebe28e0cdf4183558af">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28"],["A","A","A","B","A","B","B","A","A","A","B","A","B","B","A","A","B","B","B","A","B","A","A","B","B","A","B","A"],["no","no","no","yes","no","no","no","no","yes","no","no","no","yes","no","no","no","no","no","no","no","no","no","no","yes","no","yes","no","no"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>treatment<\/th>\n <th>bleeding<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;29.1: Table with data from “meldata” file.</figcaption></figure>
</div>
</div>
<p>We inspect the data and the type of variables:</p>
Expand Down
2 changes: 1 addition & 1 deletion _book/functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ <h1 class="title"><span id="sec-functions" class="quarto-section-identifier"><sp
<div class="cell">
<div class="sourceCode" id="cb20" data-source-line-numbers="nil" data-code-line-numbers="nil"><pre class="downlit sourceCode r code-with-copy"><code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/date.html">date</a></span><span class="op">(</span><span class="op">)</span></span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<pre data-code-line-numbers=""><code>[1] "Mon Jul 10 11:29:40 2023"</code></pre>
<pre data-code-line-numbers=""><code>[1] "Sun Aug 6 17:47:33 2023"</code></pre>
</div>
</div>
<p>&nbsp;</p>
Expand Down
Binary file modified _book/ggplot2_files/figure-html/fig-ggthemes-1.png
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 _book/ggplot2_files/figure-html/fig-ggthemes0-1.png
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 _book/ggplot2_files/figure-html/fig-ggthemes2-1.png
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 _book/ggplot2_files/figure-html/unnamed-chunk-20-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions _book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="author" content="Konstantinos I. Bougioukas, PhD">
<meta name="dcterms.date" content="2023-07-10">
<meta name="dcterms.date" content="2023-08-06">

<title>Practical Statistics in Medicine with R</title>
<style>
Expand Down Expand Up @@ -401,7 +401,7 @@ <h1 class="title">Practical Statistics in Medicine with R</h1>
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">July 10, 2023</p>
<p class="date">August 6, 2023</p>
</div>
</div>

Expand Down Expand Up @@ -449,7 +449,7 @@ <h3 class="anchored" data-anchor-id="reproducibility-and-license">Reproducibilit
<p>The <strong>online version</strong> of the textbook is <strong>free to use</strong> for <strong>non-commercial</strong> purposes, and is licensed under the <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivs 4.0</a> License. <img src="images/license.png" width="120" height="40"></p>
<div id="qrcode" class="qrcode"></div>
<script type="text/javascript">
var qrcode = new QRCode("qrcode", {"text":"https://bougioukas-medstats-r.netlify.app","colorLight":"#ffffff","colorDark":"#0011bb","height":"100","width":"100"});
var qrcode = new QRCode("qrcode", {"text":"https://bougioukas-medstats-r.netlify.app","colorDark":"#0011bb","height":"100","colorLight":"#ffffff","width":"100"});
</script>


Expand Down
4 changes: 2 additions & 2 deletions _book/kruskal_wallis.html
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,8 @@ <h1 class="title"><span id="sec-kruskal_wallis" class="quarto-section-identifier
</div>
<div class="cell">
<div id="fig-dataVO2" class="quarto-figure quarto-figure-center anchored">
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-ad477ccd6eae1b8f25fc" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-ad477ccd6eae1b8f25fc">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],["runners","runners","runners","runners","runners","runners","runners","runners","runners","runners","rowers","rowers","rowers","rowers","rowers","rowers","rowers","rowers","rowers","rowers","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes"],[73.8,79.90000000000001,75.5,72.5,82.2,78.3,77.90000000000001,76.5,72.3,80.2,71.09999999999999,67.90000000000001,67.09999999999999,73.8,74.7,74.40000000000001,69.90000000000001,67.09999999999999,67.8,69.2,76.59999999999999,63.9,64.3,72.59999999999999,67.8,63.2,65.8,63.4,65,67]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>sport<\/th>\n <th>VO2max<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;23.1: Table with data from “dataVO2” file.</figcaption></figure>
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-3bde484618ebd32f04ef" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-3bde484618ebd32f04ef">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"],["runners","runners","runners","runners","runners","runners","runners","runners","runners","runners","rowers","rowers","rowers","rowers","rowers","rowers","rowers","rowers","rowers","rowers","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes","triathletes"],[73.8,79.90000000000001,75.5,72.5,82.2,78.3,77.90000000000001,76.5,72.3,80.2,71.09999999999999,67.90000000000001,67.09999999999999,73.8,74.7,74.40000000000001,69.90000000000001,67.09999999999999,67.8,69.2,76.59999999999999,63.9,64.3,72.59999999999999,67.8,63.2,65.8,63.4,65,67]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>sport<\/th>\n <th>VO2max<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;23.1: Table with data from “dataVO2” file.</figcaption></figure>
</div>
</div>
<p>We inspect the data and the type of variables:</p>
Expand Down
4 changes: 2 additions & 2 deletions _book/mcnemar.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ <h1 class="title"><span id="sec-mcnemar" class="quarto-section-identifier"><span
</div>
<div class="cell">
<div id="fig-asthma" class="quarto-figure quarto-figure-center anchored">
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-62b4531a7d6fb3a90b28" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-62b4531a7d6fb3a90b28">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86"],["yes","no","yes","no","no","no","yes","no","no","yes","no","no","yes","yes","yes","no","no","no","yes","no","no","no","yes","no","no","yes","no","no","no","no","yes","no","yes","yes","no","no","yes","no","yes","no","no","no","no","no","yes","no","no","no","yes","no","no","yes","no","no","yes","no","no","yes","yes","yes","no","no","no","no","yes","no","no","yes","no","no","no","no","yes","yes","no","yes","no","yes","no","no","no","yes","no","yes","no","no"],["yes","no","no","no","no","no","yes","yes","yes","yes","yes","no","yes","yes","no","yes","no","yes","yes","yes","no","no","yes","yes","no","yes","yes","no","no","yes","no","yes","yes","yes","yes","no","yes","yes","yes","yes","no","no","yes","no","no","no","yes","no","yes","yes","yes","yes","no","yes","no","yes","yes","yes","yes","yes","yes","yes","no","no","yes","no","yes","no","no","yes","no","yes","yes","yes","no","yes","yes","yes","no","yes","yes","yes","yes","yes","no","no"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>know_begin<\/th>\n <th>know_end<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false},"selection":{"mode":"multiple","selected":null,"target":"row","selectable":null}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;30.1: Table with data from “asthma” file.</figcaption></figure>
<figure class="figure"><div class="datatables html-widget html-fill-item-overflow-hidden html-fill-item" id="htmlwidget-03e47d5757a85ce8bf25" style="width:100%;height:auto;"></div>
<script type="application/json" data-for="htmlwidget-03e47d5757a85ce8bf25">{"x":{"filter":"none","vertical":false,"extensions":["Buttons"],"data":[["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86"],["yes","no","yes","no","no","no","yes","no","no","yes","no","no","yes","yes","yes","no","no","no","yes","no","no","no","yes","no","no","yes","no","no","no","no","yes","no","yes","yes","no","no","yes","no","yes","no","no","no","no","no","yes","no","no","no","yes","no","no","yes","no","no","yes","no","no","yes","yes","yes","no","no","no","no","yes","no","no","yes","no","no","no","no","yes","yes","no","yes","no","yes","no","no","no","yes","no","yes","no","no"],["yes","no","no","no","no","no","yes","yes","yes","yes","yes","no","yes","yes","no","yes","no","yes","yes","yes","no","no","yes","yes","no","yes","yes","no","no","yes","no","yes","yes","yes","yes","no","yes","yes","yes","yes","no","no","yes","no","no","no","yes","no","yes","yes","yes","yes","no","yes","no","yes","yes","yes","yes","yes","yes","yes","no","no","yes","no","yes","no","no","yes","no","yes","yes","yes","no","yes","yes","yes","no","yes","yes","yes","yes","yes","no","no"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th> <\/th>\n <th>know_begin<\/th>\n <th>know_end<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"tip","columnDefs":[{"className":"dt-center","targets":"_all"},{"orderable":false,"targets":0}],"order":[],"autoWidth":false,"orderClasses":false},"selection":{"mode":"multiple","selected":null,"target":"row","selectable":null}},"evals":[],"jsHooks":[]}</script><figcaption class="figure-caption">Figure&nbsp;30.1: Table with data from “asthma” file.</figcaption></figure>
</div>
</div>
<p>We inspect the data and the type of variables:</p>
Expand Down
Loading

0 comments on commit 9be6e86

Please sign in to comment.