aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/articles
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-08-04 16:37:52 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2021-08-04 16:37:52 +0200
commit51fab94230e926cec690dc455964bd797a97b7c7 (patch)
treee737a267d121034ea232d5aa8fdea2fad8bc9007 /docs/dev/articles
parent1bef803fc9d83989352f1b029d83e66918a0e58a (diff)
Improve AIC table in vignette
Diffstat (limited to 'docs/dev/articles')
-rw-r--r--docs/dev/articles/web_only/dimethenamid_2018.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/dev/articles/web_only/dimethenamid_2018.html b/docs/dev/articles/web_only/dimethenamid_2018.html
index 34d882a4..9a6d8388 100644
--- a/docs/dev/articles/web_only/dimethenamid_2018.html
+++ b/docs/dev/articles/web_only/dimethenamid_2018.html
@@ -101,7 +101,7 @@
<h1 data-toc-skip>Example evaluations of the dimethenamid data from 2018</h1>
<h4 class="author">Johannes Ranke</h4>
- <h4 class="date">Last change 27 July 2021, built on 29 Jul 2021</h4>
+ <h4 class="date">Last change 4 August 2021, built on 04 Aug 2021</h4>
<small class="dont-index">Source: <a href="https://github.com/jranke/mkin/blob/master/vignettes/web_only/dimethenamid_2018.rmd"><code>vignettes/web_only/dimethenamid_2018.rmd</code></a></small>
<div class="hidden name"><code>dimethenamid_2018.rmd</code></div>
@@ -331,6 +331,8 @@ f_parent_nlmixr_saem_dfop_tc$nm 10 684.51</code></pre>
<p>The following table gives the AIC values obtained with the three packages.</p>
<div class="sourceCode" id="cb36"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="va">AIC_all</span> <span class="op">&lt;-</span> <span class="fu"><a href="https://rdrr.io/r/base/data.frame.html">data.frame</a></span><span class="op">(</span>
+ <span class="st">"Degradation model"</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"SFO"</span>, <span class="st">"SFO"</span>, <span class="st">"DFOP"</span>, <span class="st">"DFOP"</span><span class="op">)</span>,
+ <span class="st">"Error model"</span> <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="st">"const"</span>, <span class="st">"tc"</span>, <span class="st">"const"</span>, <span class="st">"tc"</span><span class="op">)</span>,
nlme <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html">c</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/stats/AIC.html">AIC</a></span><span class="op">(</span><span class="va">f_parent_nlme_sfo_const</span><span class="op">)</span>, <span class="fu"><a href="https://rdrr.io/r/stats/AIC.html">AIC</a></span><span class="op">(</span><span class="va">f_parent_nlme_sfo_tc</span><span class="op">)</span>, <span class="cn">NA</span>, <span class="fu"><a href="https://rdrr.io/r/stats/AIC.html">AIC</a></span><span class="op">(</span><span class="va">f_parent_nlme_dfop_tc</span><span class="op">)</span><span class="op">)</span>,
nlmixr_focei <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/lapply.html">sapply</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/list.html">list</a></span><span class="op">(</span><span class="va">f_parent_nlmixr_focei_sfo_const</span><span class="op">$</span><span class="va">nm</span>, <span class="va">f_parent_nlmixr_focei_sfo_tc</span><span class="op">$</span><span class="va">nm</span>,
<span class="va">f_parent_nlmixr_focei_dfop_const</span><span class="op">$</span><span class="va">nm</span>, <span class="va">f_parent_nlmixr_focei_dfop_tc</span><span class="op">$</span><span class="va">nm</span><span class="op">)</span>, <span class="va">AIC</span><span class="op">)</span>,
@@ -342,6 +344,8 @@ f_parent_nlmixr_saem_dfop_tc$nm 10 684.51</code></pre>
<span class="fu">kable</span><span class="op">(</span><span class="va">AIC_all</span><span class="op">)</span></code></pre></div>
<table class="table">
<thead><tr class="header">
+<th align="left">Degradation.model</th>
+<th align="left">Error.model</th>
<th align="right">nlme</th>
<th align="right">nlmixr_focei</th>
<th align="right">saemix</th>
@@ -349,24 +353,32 @@ f_parent_nlmixr_saem_dfop_tc$nm 10 684.51</code></pre>
</tr></thead>
<tbody>
<tr class="odd">
+<td align="left">SFO</td>
+<td align="left">const</td>
<td align="right">818.63</td>
<td align="right">818.63</td>
<td align="right">818.37</td>
<td align="right">820.54</td>
</tr>
<tr class="even">
+<td align="left">SFO</td>
+<td align="left">tc</td>
<td align="right">820.61</td>
<td align="right">820.61</td>
<td align="right">820.38</td>
<td align="right">835.26</td>
</tr>
<tr class="odd">
+<td align="left">DFOP</td>
+<td align="left">const</td>
<td align="right">NA</td>
<td align="right">728.11</td>
<td align="right">725.91</td>
<td align="right">842.84</td>
</tr>
<tr class="even">
+<td align="left">DFOP</td>
+<td align="left">tc</td>
<td align="right">687.84</td>
<td align="right">687.82</td>
<td align="right">683.64</td>

Contact - Imprint