aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-02-26 20:28:15 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-02-26 20:33:32 +0100
commit396e40d2c45d81a8e74c41a2f632665021e980a1 (patch)
treec7ab9b5356361b1939e9b00183a7f31071782f64 /docs
parent64e636d11311be57978ef394c48c9b43fe219059 (diff)
NAFTA SOP Attachment vignette
Also: - Change rounding in print.nafta - Add dots argument to nafta() - Use cores=1 in examples - Restrict N in IORE model to values > 0
Diffstat (limited to 'docs')
-rw-r--r--docs/articles/FOCUS_D.html6
-rw-r--r--docs/articles/FOCUS_L.html32
-rw-r--r--docs/articles/index.html1
-rw-r--r--docs/articles/web_only/NAFTA_examples.html933
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p10-1.pngbin0 -> 53961 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p11-1.pngbin0 -> 51343 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.pngbin0 -> 54599 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.pngbin0 -> 47216 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p13-1.pngbin0 -> 51514 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p14-1.pngbin0 -> 54064 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.pngbin0 -> 51221 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.pngbin0 -> 53121 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p16-1.pngbin0 -> 62569 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.pngbin0 -> 55421 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.pngbin0 -> 53575 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p6-1.pngbin0 -> 54970 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p7-1.pngbin0 -> 66810 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p8-1.pngbin0 -> 61563 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.pngbin0 -> 53090 bytes
-rw-r--r--docs/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.pngbin0 -> 50040 bytes
-rw-r--r--docs/articles/web_only/compiled_models.html10
-rw-r--r--docs/authors.html3
-rw-r--r--docs/index.html3
-rw-r--r--docs/pkgdown.yml1
-rw-r--r--docs/reference/AIC.mmkin.html4
-rw-r--r--docs/reference/Extract.mmkin.html12
-rw-r--r--docs/reference/NAFTA_SOP_2015.html13
-rw-r--r--docs/reference/NAFTA_SOP_Attachment-1.pngbin0 -> 42277 bytes
-rw-r--r--docs/reference/NAFTA_SOP_Attachment.html217
-rw-r--r--docs/reference/index.html4
-rw-r--r--docs/reference/mccall81_245T.html12
-rw-r--r--docs/reference/mkinfit.html44
-rw-r--r--docs/reference/mkinmod.html2
-rw-r--r--docs/reference/mkinpredict.html4
-rw-r--r--docs/reference/mmkin.html4
-rw-r--r--docs/reference/nafta.html19
-rw-r--r--docs/reference/plot.nafta.html12
-rw-r--r--docs/reference/print.nafta.html8
-rw-r--r--docs/reference/summary.mkinfit.html6
-rw-r--r--docs/reference/transform_odeparms.html24
40 files changed, 1275 insertions, 99 deletions
diff --git a/docs/articles/FOCUS_D.html b/docs/articles/FOCUS_D.html
index 5c1cc0dd..9030710e 100644
--- a/docs/articles/FOCUS_D.html
+++ b/docs/articles/FOCUS_D.html
@@ -163,8 +163,8 @@
<div class="sourceCode" id="cb10"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb10-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(fit)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:03 2019
-## Date of summary: Tue Feb 26 09:29:03 2019
+## Date of fit: Tue Feb 26 20:25:04 2019
+## Date of summary: Tue Feb 26 20:25:04 2019
##
## Equations:
## d_parent/dt = - k_parent_sink * parent - k_parent_m1 * parent
@@ -172,7 +172,7 @@
##
## Model predictions using solution type deSolve
##
-## Fitted with method Port using 153 model solutions performed in 0.681 s
+## Fitted with method Port using 153 model solutions performed in 0.7 s
##
## Weighting: none
##
diff --git a/docs/articles/FOCUS_L.html b/docs/articles/FOCUS_L.html
index 57bd4d34..a6853c97 100644
--- a/docs/articles/FOCUS_L.html
+++ b/docs/articles/FOCUS_L.html
@@ -111,8 +111,8 @@
<a class="sourceLine" id="cb2-2" data-line-number="2"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(m.L1.SFO)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:05 2019
-## Date of summary: Tue Feb 26 09:29:05 2019
+## Date of fit: Tue Feb 26 20:25:06 2019
+## Date of summary: Tue Feb 26 20:25:06 2019
##
## Equations:
## d_parent/dt = - k_parent_sink * parent
@@ -202,15 +202,15 @@
<div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb7-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(m.L1.FOMC, <span class="dt">data =</span> <span class="ot">FALSE</span>)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:06 2019
-## Date of summary: Tue Feb 26 09:29:06 2019
+## Date of fit: Tue Feb 26 20:25:08 2019
+## Date of summary: Tue Feb 26 20:25:08 2019
##
## Equations:
## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
##
## Model predictions using solution type analytical
##
-## Fitted with method Port using 611 model solutions performed in 1.51 s
+## Fitted with method Port using 611 model solutions performed in 1.509 s
##
## Weighting: none
##
@@ -297,8 +297,8 @@
<div class="sourceCode" id="cb12"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb12-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(m.L2.FOMC, <span class="dt">data =</span> <span class="ot">FALSE</span>)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:07 2019
-## Date of summary: Tue Feb 26 09:29:07 2019
+## Date of fit: Tue Feb 26 20:25:08 2019
+## Date of summary: Tue Feb 26 20:25:08 2019
##
## Equations:
## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
@@ -368,8 +368,8 @@
<div class="sourceCode" id="cb15"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb15-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(m.L2.DFOP, <span class="dt">data =</span> <span class="ot">FALSE</span>)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:08 2019
-## Date of summary: Tue Feb 26 09:29:08 2019
+## Date of fit: Tue Feb 26 20:25:09 2019
+## Date of summary: Tue Feb 26 20:25:09 2019
##
## Equations:
## d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) *
@@ -460,8 +460,8 @@
<div class="sourceCode" id="cb21"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb21-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(mm.L3[[<span class="st">"DFOP"</span>, <span class="dv">1</span>]])</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:09 2019
-## Date of summary: Tue Feb 26 09:29:09 2019
+## Date of fit: Tue Feb 26 20:25:10 2019
+## Date of summary: Tue Feb 26 20:25:11 2019
##
## Equations:
## d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) *
@@ -470,7 +470,7 @@
##
## Model predictions using solution type analytical
##
-## Fitted with method Port using 137 model solutions performed in 0.343 s
+## Fitted with method Port using 137 model solutions performed in 0.344 s
##
## Weighting: none
##
@@ -561,8 +561,8 @@
<div class="sourceCode" id="cb26"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb26-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(mm.L4[[<span class="st">"SFO"</span>, <span class="dv">1</span>]], <span class="dt">data =</span> <span class="ot">FALSE</span>)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:10 2019
-## Date of summary: Tue Feb 26 09:29:10 2019
+## Date of fit: Tue Feb 26 20:25:11 2019
+## Date of summary: Tue Feb 26 20:25:11 2019
##
## Equations:
## d_parent/dt = - k_parent_sink * parent
@@ -621,8 +621,8 @@
<div class="sourceCode" id="cb28"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb28-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/summary">summary</a></span>(mm.L4[[<span class="st">"FOMC"</span>, <span class="dv">1</span>]], <span class="dt">data =</span> <span class="ot">FALSE</span>)</a></code></pre></div>
<pre><code>## mkin version used for fitting: 0.9.48.1
## R version used for fitting: 3.5.2
-## Date of fit: Tue Feb 26 09:29:10 2019
-## Date of summary: Tue Feb 26 09:29:10 2019
+## Date of fit: Tue Feb 26 20:25:11 2019
+## Date of summary: Tue Feb 26 20:25:11 2019
##
## Equations:
## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
diff --git a/docs/articles/index.html b/docs/articles/index.html
index a1c08835..49a501b7 100644
--- a/docs/articles/index.html
+++ b/docs/articles/index.html
@@ -128,6 +128,7 @@
<li><a href="mkin.html">Introduction to mkin</a></li>
<li><a href="twa.html">Calculation of time weighted average concentrations with mkin</a></li>
<li><a href="web_only/FOCUS_Z.html">Example evaluation of FOCUS dataset Z</a></li>
+ <li><a href="web_only/NAFTA_examples.html">Evaluation of example datasets from Attachment 1 to the US EPA SOP for the NAFTA guidance</a></li>
<li><a href="web_only/compiled_models.html">Performance benefit by using compiled model definitions in mkin</a></li>
</ul>
</div>
diff --git a/docs/articles/web_only/NAFTA_examples.html b/docs/articles/web_only/NAFTA_examples.html
new file mode 100644
index 00000000..bd202a54
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples.html
@@ -0,0 +1,933 @@
+<!DOCTYPE html>
+<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+<title>Evaluation of example datasets from Attachment 1 to the US EPA SOP for the NAFTA guidance • mkin</title>
+<!-- jquery --><script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script><!-- Bootstrap --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous">
+<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous">
+<!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script><!-- sticky kit --><script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script><!-- pkgdown --><link href="../../pkgdown.css" rel="stylesheet">
+<script src="../../pkgdown.js"></script><meta property="og:title" content="Evaluation of example datasets from Attachment 1 to the US EPA SOP for the NAFTA guidance">
+<meta property="og:description" content="">
+<meta name="twitter:card" content="summary">
+<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+<![endif]-->
+</head>
+<body>
+ <div class="container template-article">
+ <header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <span class="navbar-brand">
+ <a class="navbar-link" href="../../index.html">mkin</a>
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.9.48.1</span>
+ </span>
+ </div>
+
+ <div id="navbar" class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+<li>
+ <a href="../../reference/index.html">Functions and data</a>
+</li>
+<li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
+ Articles
+
+ <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu" role="menu">
+<li>
+ <a href="../../articles/mkin.html">Introduction to mkin</a>
+ </li>
+ <li>
+ <a href="../../articles/FOCUS_D.html">Example evaluation of FOCUS Example Dataset D</a>
+ </li>
+ <li>
+ <a href="../../articles/FOCUS_L.html">Example evaluation of FOCUS Laboratory Data L1 to L3</a>
+ </li>
+ <li>
+ <a href="../../articles/web_only/FOCUS_Z.html">Example evaluation of FOCUS Example Dataset Z</a>
+ </li>
+ <li>
+ <a href="../../articles/web_only/compiled_models.html">Performance benefit by using compiled model definitions in mkin</a>
+ </li>
+ <li>
+ <a href="../../articles/twa.html">Calculation of time weighted average concentrations with mkin</a>
+ </li>
+ </ul>
+</li>
+<li>
+ <a href="../../news/index.html">News</a>
+</li>
+ </ul>
+<ul class="nav navbar-nav navbar-right"></ul>
+</div>
+<!--/.nav-collapse -->
+ </div>
+<!--/.container -->
+</div>
+<!--/.navbar -->
+
+
+ </header><div class="row">
+ <div class="col-md-9 contents">
+ <div class="page-header toc-ignore">
+ <h1>Evaluation of example datasets from Attachment 1 to the US EPA SOP for the NAFTA guidance</h1>
+ <h4 class="author">Johannes Ranke</h4>
+
+ <h4 class="date">2019-02-26</h4>
+
+
+ <div class="hidden name"><code>NAFTA_examples.Rmd</code></div>
+
+ </div>
+
+
+
+<div id="introduction" class="section level1">
+<h1 class="hasAnchor">
+<a href="#introduction" class="anchor"></a>Introduction</h1>
+<p>In this document, the example evaluations provided in Attachment 1 to the SOP of US EPA for using the NAFTA guidance <span class="citation">(US EPA 2015)</span> are repeated using mkin. The original evaluations reported in the attachment were performed using PestDF in version 0.8.4. Note that PestDF 0.8.13 is the version distributed at the US EPA website today (2019-02-26).</p>
+<p>The datasets are now distributed with the mkin package.</p>
+</div>
+<div id="examples-where-dfop-did-not-converge-with-pestdf-0-8-4" class="section level1">
+<h1 class="hasAnchor">
+<a href="#examples-where-dfop-did-not-converge-with-pestdf-0-8-4" class="anchor"></a>Examples where DFOP did not converge with PestDF 0.8.4</h1>
+<p>In attachment 1, it is reported that the DFOP model does not converge for these datasets when PestDF 0.8.4 was used. For all four datasets, the DFOP model can be fitted with mkin (see below). The negative half-life given by PestDF 0.8.4 for these fits appears to be the result of a bug. The results for the other two models (SFO and IORE) are the same.</p>
+<div id="example-on-page-5-upper-panel" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-5-upper-panel" class="anchor"></a>Example on page 5, upper panel</h2>
+<div class="sourceCode" id="cb1"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb1-1" data-line-number="1">p5a &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p5a"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb4"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb4-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p5a)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p5a-1.png" width="700"></p>
+<div class="sourceCode" id="cb5"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb5-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p5a)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 465.21753 56.27506 32.06401
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 64.4304
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 95.84012168 1.095639e-21 92.120517864 99.55972549
+## k_parent_sink 0.01024015 1.710227e-12 0.008996874 0.01165524
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.007532e+02 2.365797e-26 9.891170e+01 1.025947e+02
+## k__iore_parent_sink 1.544192e-05 8.733384e-02 3.482391e-06 6.847393e-05
+## N_parent 2.569877e+00 1.140446e-11 2.215298e+00 2.924456e+00
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.994630e+01 4.330861e-27 NA NA
+## k1 2.674255e-02 3.171390e-05 NA NA
+## k2 2.161318e-12 5.000000e-01 NA NA
+## g 6.465276e-01 2.129114e-05 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 67.7 2.25e+02 6.77e+01
+## IORE 58.2 1.07e+03 3.22e+02
+## DFOP 55.5 5.84e+11 3.21e+11
+##
+## Representative half-life:
+## [1] 321.5119</code></pre>
+</div>
+<div id="example-on-page-5-lower-panel" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-5-lower-panel" class="anchor"></a>Example on page 5, lower panel</h2>
+<div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb7-1" data-line-number="1">p5b &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p5b"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb10"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb10-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p5b)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p5b-1.png" width="700"></p>
+<div class="sourceCode" id="cb11"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb11-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p5b)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 94.81123 10.10936 7.55871
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 11.77879
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 96.497133849 2.623748e-25 94.776528606 98.217739092
+## k_parent_sink 0.008002704 1.352275e-14 0.007356108 0.008706135
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.854518e+01 1.019174e-29 9.780760e+01 9.928276e+01
+## k__iore_parent_sink 1.532766e-04 1.152046e-02 6.603390e-05 3.557826e-04
+## N_parent 1.939125e+00 8.177751e-13 1.741616e+00 2.136633e+00
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.836323e+01 1.896304e-28 NA NA
+## k1 1.546859e-02 2.833415e-03 NA NA
+## k2 8.172408e-12 5.000000e-01 NA NA
+## g 6.889941e-01 1.306276e-02 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 86.6 2.88e+02 8.66e+01
+## IORE 85.5 7.17e+02 2.16e+02
+## DFOP 83.6 1.39e+11 8.48e+10
+##
+## Representative half-life:
+## [1] 215.8655</code></pre>
+</div>
+<div id="example-on-page-6" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-6" class="anchor"></a>Example on page 6</h2>
+<div class="sourceCode" id="cb13"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb13-1" data-line-number="1">p6 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p6"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb16"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb16-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p6)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p6-1.png" width="700"></p>
+<div class="sourceCode" id="cb17"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb17-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p6)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 188.45361 51.00699 42.46931
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 58.39888
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 94.77587412 1.246335e-24 92.25575879 97.29598945
+## k_parent_sink 0.01794259 2.347664e-16 0.01660595 0.01938682
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 97.124460863 5.616271e-27 95.493434421 98.755487305
+## k__iore_parent_sink 0.002517728 3.535472e-03 0.001263771 0.005015906
+## N_parent 1.495871465 6.129227e-13 1.323799338 1.667943591
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.662275e+01 4.174516e-26 NA NA
+## k1 2.547327e-02 2.115246e-05 NA NA
+## k2 3.087623e-11 5.000000e-01 NA NA
+## g 8.613785e-01 2.097173e-05 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 38.6 1.28e+02 3.86e+01
+## IORE 34.0 1.77e+02 5.32e+01
+## DFOP 34.1 1.06e+10 2.24e+10
+##
+## Representative half-life:
+## [1] 53.16582</code></pre>
+</div>
+<div id="example-on-page-7" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-7" class="anchor"></a>Example on page 7</h2>
+<div class="sourceCode" id="cb19"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb19-1" data-line-number="1">p7 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p7"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb22"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb22-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p7)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p7-1.png" width="700"></p>
+<div class="sourceCode" id="cb23"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb23-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p7)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 3661.661 3195.030 3174.145
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 3334.194
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 96.417960406 1.520951e-53 93.295541980 99.540378832
+## k_parent_sink 0.007350054 3.592731e-21 0.006413446 0.008423441
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.915322e+01 7.332574e-49 9.534934e+01 1.029571e+02
+## k__iore_parent_sink 1.600884e-05 3.472978e-01 9.982484e-08 2.567328e-03
+## N_parent 2.446000e+00 6.141482e-05 1.260173e+00 3.631827e+00
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.886065e+01 8.134302e-48 NA NA
+## k1 1.805928e-02 2.198367e-01 NA NA
+## k2 3.279731e-10 5.000000e-01 NA NA
+## g 6.063177e-01 2.601365e-01 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 94.3 3.13e+02 9.43e+01
+## IORE 96.7 1.51e+03 4.55e+02
+## DFOP 96.4 4.18e+09 2.11e+09
+##
+## Representative half-life:
+## [1] 454.5528</code></pre>
+</div>
+</div>
+<div id="examples-where-the-representative-half-life-deviates-from-the-observed-dt50" class="section level1">
+<h1 class="hasAnchor">
+<a href="#examples-where-the-representative-half-life-deviates-from-the-observed-dt50" class="anchor"></a>Examples where the representative half-life deviates from the observed DT50</h1>
+<div id="example-on-page-8" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-8" class="anchor"></a>Example on page 8</h2>
+<p>For this dataset, the IORE fit does not converge when the default starting values used by mkin for the IORE model are used. Therefore, a lower value for the rate constant is used here.</p>
+<div class="sourceCode" id="cb25"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb25-1" data-line-number="1">p8 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p8"</span>]], <span class="dt">parms.ini =</span> <span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/c">c</a></span>(<span class="dt">k__iore_parent_sink =</span> <span class="fl">1e-3</span>))</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb28"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb28-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p8)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p8-1.png" width="700"></p>
+<div class="sourceCode" id="cb29"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb29-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p8)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 1996.9408 444.9237 547.5616
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 477.4924
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 88.165489334 NA NA NA
+## k__iore_parent_sink 0.001000000 NA NA NA
+## k_parent_sink 0.008032303 NA NA NA
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.771060e+01 1.048016e-35 9.442778e+01 1.009934e+02
+## k__iore_parent_sink 6.141041e-05 2.763666e-02 2.205805e-05 1.709688e-04
+## N_parent 2.271648e+00 5.996684e-19 2.015215e+00 2.528080e+00
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 95.706193520 NA NA NA
+## k__iore_parent_sink 0.001000000 NA NA NA
+## k1 0.024995243 NA NA NA
+## k2 0.002734623 NA NA NA
+## g 0.588349874 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 86.3 287 86.3
+## IORE 53.4 668 201.0
+## DFOP 55.6 517 253.0
+##
+## Representative half-life:
+## [1] 201.0316</code></pre>
+</div>
+</div>
+<div id="examples-where-sfo-was-not-selected-for-an-abiotic-study" class="section level1">
+<h1 class="hasAnchor">
+<a href="#examples-where-sfo-was-not-selected-for-an-abiotic-study" class="anchor"></a>Examples where SFO was not selected for an abiotic study</h1>
+<div id="example-on-page-9-upper-panel" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-9-upper-panel" class="anchor"></a>Example on page 9, upper panel</h2>
+<div class="sourceCode" id="cb31"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb31-1" data-line-number="1">p9a &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p9a"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb34"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb34-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p9a)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p9a-1.png" width="700"></p>
+<div class="sourceCode" id="cb35"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb35-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p9a)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 839.35238 88.57064 9.93363
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 105.5678
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 88.1933161 1.117569e-12 79.76708923 96.61954288
+## k_parent_sink 0.0409019 9.501453e-08 0.03258829 0.05133639
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.891481e+01 5.163566e-17 9.497891e+01 1.028507e+02
+## k__iore_parent_sink 1.927824e-05 1.480158e-01 2.650455e-06 1.402214e-04
+## N_parent 2.910027e+00 3.738041e-09 2.428904e+00 3.391151e+00
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 9.853112e+01 1.308505e-21 NA NA
+## k1 1.382145e-01 3.630589e-09 NA NA
+## k2 6.019228e-13 5.000000e-01 NA NA
+## g 6.518659e-01 1.502543e-10 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 16.9 5.63e+01 1.69e+01
+## IORE 11.6 3.37e+02 1.01e+02
+## DFOP 10.5 2.07e+12 1.15e+12
+##
+## Representative half-life:
+## [1] 101.4264</code></pre>
+<p>In this example, the residuals of the SFO indicate a lack of fit of this model, so even if it was an abiotic experiment, the data do not suggest a simple exponential decline.</p>
+</div>
+<div id="example-on-page-9-lower-panel" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-9-lower-panel" class="anchor"></a>Example on page 9, lower panel</h2>
+<div class="sourceCode" id="cb37"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb37-1" data-line-number="1">p9b &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p9b"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb40"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb40-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p9b)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p9b-1.png" width="700"></p>
+<div class="sourceCode" id="cb41"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb41-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p9b)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 35.64867 23.22334 35.64867
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 28.54188
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 94.71226787 2.207090e-20 93.0673253 96.35721040
+## k_parent_sink 0.03887215 1.482921e-14 0.0368549 0.04099981
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 93.8626223 2.911881e-19 92.29955547 95.4256890
+## k__iore_parent_sink 0.1271399 2.725876e-02 0.04570569 0.3536663
+## N_parent 0.7108771 3.130915e-05 0.46052920 0.9612249
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 94.71226786 NA NA NA
+## k1 0.03887215 NA NA NA
+## k2 0.03887215 NA NA NA
+## g 0.77417779 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 17.8 59.2 17.8
+## IORE 18.4 49.2 14.8
+## DFOP 17.8 59.2 17.8
+##
+## Representative half-life:
+## [1] 14.80013</code></pre>
+<p>Here, mkin gives a longer slow DT50 for the DFOP model (17.8 days) than PestDF (13.5 days). Presumably, this is related to the fact that PestDF gives a negative value for the proportion of the fast degradation which should be between 0 and 1, inclusive. This parameter is called f in PestDF and g in mkin. In mkin, it is restricted to the interval from 0 to 1.</p>
+</div>
+<div id="example-on-page-10" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-10" class="anchor"></a>Example on page 10</h2>
+<div class="sourceCode" id="cb43"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb43-1" data-line-number="1">p10 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p10"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb46"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb46-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p10)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p10-1.png" width="700"></p>
+<div class="sourceCode" id="cb47"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb47-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p10)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 899.4089 336.4348 899.4089
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 413.4841
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 101.73153064 4.954950e-11 90.96832870 112.49473259
+## k_parent_sink 0.04952864 3.398569e-07 0.03930194 0.06241642
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 96.855416 2.706118e-12 89.8843855 103.8264461
+## k__iore_parent_sink 2.960977 1.308097e-01 0.4609504 19.0202303
+## N_parent 0.000000 5.000000e-01 -0.4728922 0.4728922
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 101.73153022 NA NA NA
+## k1 0.04952864 NA NA NA
+## k2 0.04952864 NA NA NA
+## g 0.66344649 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 14.0 46.5 14.00
+## IORE 16.4 29.4 8.86
+## DFOP 14.0 46.5 14.00
+##
+## Representative half-life:
+## [1] 8.862193</code></pre>
+<p>Here, a value below N is given for the IORE model, because the data suggests a faster decline towards the end of the experiment, which appears physically rather unlikely in the case of a photolysis study. It seems PestDF does not constrain N to values above zero, thus the slight difference in IORE model parameters between PestDF and mkin.</p>
+</div>
+</div>
+<div id="the-dt50-was-not-observed-during-the-study" class="section level1">
+<h1 class="hasAnchor">
+<a href="#the-dt50-was-not-observed-during-the-study" class="anchor"></a>The DT50 was not observed during the study</h1>
+<div id="example-on-page-11" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-11" class="anchor"></a>Example on page 11</h2>
+<div class="sourceCode" id="cb49"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb49-1" data-line-number="1">p11 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p11"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb52"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb52-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p11)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p11-1.png" width="700"></p>
+<div class="sourceCode" id="cb53"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb53-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p11)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 579.6805 204.7932 144.7783
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 251.6944
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 96.158200840 1.560217e-13 89.913728706 1.024027e+02
+## k_parent_sink 0.003208498 5.266271e-05 0.002183575 4.714497e-03
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.045981e+02 NA 9.798102e+01 1.112151e+02
+## k__iore_parent_sink 3.110367e-17 NA 6.875825e-25 1.407014e-09
+## N_parent 8.360812e+00 NA 4.397006e+00 1.232462e+01
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.045607e+02 7.502642e-13 NA NA
+## k1 4.414526e-02 3.343950e-02 NA NA
+## k2 7.246905e-13 5.000000e-01 NA NA
+## g 3.217737e-01 7.868540e-03 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 2.16e+02 7.18e+02 2.16e+02
+## IORE 9.73e+02 1.37e+08 4.11e+07
+## DFOP 4.21e+11 2.64e+12 9.56e+11
+##
+## Representative half-life:
+## [1] 41148169</code></pre>
+<p>In this case, the DFOP fit reported for PestDF resulted in a negative value for the slower rate constant, which is not possible in mkin. The other results are in agreement.</p>
+</div>
+</div>
+<div id="n-is-less-than-1-and-the-dfop-rate-constants-are-like-the-sfo-rate-constant" class="section level1">
+<h1 class="hasAnchor">
+<a href="#n-is-less-than-1-and-the-dfop-rate-constants-are-like-the-sfo-rate-constant" class="anchor"></a>N is less than 1 and the DFOP rate constants are like the SFO rate constant</h1>
+<p>In the following three examples, the same results are obtained with mkin as reported for PestDF. As in the case on page 10, the N values below 1 are deemed unrealistic and appear to be the result of an overparameterisation.</p>
+<div id="example-on-page-12-upper-panel" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-12-upper-panel" class="anchor"></a>Example on page 12, upper panel</h2>
+<div class="sourceCode" id="cb55"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb55-1" data-line-number="1">p12a &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p12a"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb58"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb58-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p12a)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p12a-1.png" width="700"></p>
+<div class="sourceCode" id="cb59"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb59-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p12a)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 695.4440 220.0685 695.4440
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 270.4679
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 100.5206988 5.606929e-12 91.6867692 109.3546284
+## k_parent_sink 0.1243142 7.235485e-08 0.1017305 0.1519113
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 96.8234045 1.242894e-13 91.56908085 102.0777281
+## k__iore_parent_sink 2.4360714 3.893118e-02 0.78536982 7.5562415
+## N_parent 0.2627157 3.639503e-02 -0.02875633 0.5541876
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 100.5206988 NA NA NA
+## k1 0.1243142 NA NA NA
+## k2 0.1243142 NA NA NA
+## g 0.8772377 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 5.58 18.5 5.58
+## IORE 6.49 13.2 3.99
+## DFOP 5.58 18.5 5.58
+##
+## Representative half-life:
+## [1] 3.987308</code></pre>
+</div>
+<div id="example-on-page-12-lower-panel" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-12-lower-panel" class="anchor"></a>Example on page 12, lower panel</h2>
+<div class="sourceCode" id="cb61"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb61-1" data-line-number="1">p12b &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p12b"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb64"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb64-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p12b)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p12b-1.png" width="700"></p>
+<div class="sourceCode" id="cb65"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb65-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p12b)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 58.90242 19.06353 58.90242
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 51.51756
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 97.6840211 0.0000535970 86.32050115 109.04754103
+## k_parent_sink 0.0589177 0.0009869932 0.04320553 0.08034377
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 95.5232270 0.0003860431 84.09629121 106.950163
+## k__iore_parent_sink 0.3329365 0.1708863327 0.01026046 10.803285
+## N_parent 0.5677771 0.0548808046 -0.31606833 1.451622
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 97.6840212 NA NA NA
+## k1 0.0589177 NA NA NA
+## k2 0.0589177 NA NA NA
+## g 0.6901929 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 11.8 39.1 11.80
+## IORE 12.9 31.4 9.46
+## DFOP 11.8 39.1 11.80
+##
+## Representative half-life:
+## [1] 9.461912</code></pre>
+</div>
+<div id="example-on-page-13" class="section level2">
+<h2 class="hasAnchor">
+<a href="#example-on-page-13" class="anchor"></a>Example on page 13</h2>
+<div class="sourceCode" id="cb67"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb67-1" data-line-number="1">p13 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p13"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb70"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb70-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p13)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p13-1.png" width="700"></p>
+<div class="sourceCode" id="cb71"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb71-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p13)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 174.5971 142.3951 174.5971
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 172.131
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 92.735003006 1.453426e-17 89.389064698 96.080941315
+## k_parent_sink 0.002581189 2.630396e-09 0.002198171 0.003030945
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 91.60158658 2.932498e-16 88.08710837 95.116065
+## k__iore_parent_sink 0.03960674 2.810573e-01 0.00102485 1.530656
+## N_parent 0.35408757 1.972378e-01 -0.51942545 1.227601
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 92.735003208 NA NA NA
+## k1 0.002581186 NA NA NA
+## k2 0.002581188 NA NA NA
+## g 0.004422859 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 269 892 269
+## IORE 261 560 169
+## DFOP 269 892 269
+##
+## Representative half-life:
+## [1] 168.5123</code></pre>
+</div>
+</div>
+<div id="dt50-not-observed-in-the-study-and-dfop-problems-in-pestdf" class="section level1">
+<h1 class="hasAnchor">
+<a href="#dt50-not-observed-in-the-study-and-dfop-problems-in-pestdf" class="anchor"></a>DT50 not observed in the study and DFOP problems in PestDF</h1>
+<div class="sourceCode" id="cb73"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb73-1" data-line-number="1">p14 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p14"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb76"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb76-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p14)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p14-1.png" width="700"></p>
+<div class="sourceCode" id="cb77"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb77-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p14)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 48.43249 28.67746 27.26248
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 32.83337
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 99.471243637 1.708290e-31 98.373131052 1.005694e+02
+## k_parent_sink 0.002789581 2.222078e-15 0.002554583 3.046197e-03
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.003522e+02 NA 9.926773e+01 1.014366e+02
+## k__iore_parent_sink 9.443770e-08 NA 6.810412e-11 1.309536e-04
+## N_parent 3.308552e+00 NA 1.690051e+00 4.927053e+00
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.003398e+02 2.698790e-28 NA NA
+## k1 9.532677e-03 3.394353e-01 NA NA
+## k2 9.189935e-12 5.000000e-01 NA NA
+## g 3.982564e-01 3.920847e-01 NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 2.48e+02 8.25e+02 2.48e+02
+## IORE 4.34e+02 2.22e+04 6.70e+03
+## DFOP 2.02e+10 1.95e+11 7.54e+10
+##
+## Representative half-life:
+## [1] 6697.437</code></pre>
+<p>The slower rate constant reported by PestDF is negative, which is not physically realistic, and not possible in mkin. The other fits give the same results in mkin and PestDF.</p>
+</div>
+<div id="n-is-less-than-1-and-dfop-fraction-parameter-is-below-zero" class="section level1">
+<h1 class="hasAnchor">
+<a href="#n-is-less-than-1-and-dfop-fraction-parameter-is-below-zero" class="anchor"></a>N is less than 1 and DFOP fraction parameter is below zero</h1>
+<div class="sourceCode" id="cb79"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb79-1" data-line-number="1">p15a &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p15a"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb82"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb82-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p15a)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p15a-1.png" width="700"></p>
+<div class="sourceCode" id="cb83"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb83-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p15a)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 245.5248 135.0132 245.5248
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 165.9335
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 97.967511635 4.984358e-16 94.038286642 101.8967366
+## k_parent_sink 0.009522227 5.239115e-09 0.008126698 0.0111574
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 95.8736780 8.295860e-16 92.58018331 99.1671726
+## k__iore_parent_sink 0.6285106 2.386496e-01 0.03155477 12.5187302
+## N_parent 0.0000000 5.000000e-01 -0.72189225 0.7218923
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 97.967516468 NA NA NA
+## k1 0.009522243 NA NA NA
+## k2 0.009522223 NA NA NA
+## g 0.172466840 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 72.8 242 72.8
+## IORE 76.3 137 41.3
+## DFOP 72.8 242 72.8
+##
+## Representative half-life:
+## [1] 41.32749</code></pre>
+<div class="sourceCode" id="cb85"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb85-1" data-line-number="1">p15b &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p15b"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The half-life obtained from the IORE model may be used</code></pre>
+<div class="sourceCode" id="cb88"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb88-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p15b)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p15b-1.png" width="700"></p>
+<div class="sourceCode" id="cb89"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb89-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p15b)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 106.91629 68.55574 106.91629
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 84.25618
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.008816e+02 4.987925e-18 98.127607367 1.036355e+02
+## k_parent_sink 4.856586e-03 1.756208e-10 0.004316334 5.464459e-03
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 99.8268283 4.490292e-17 97.19753163 102.45613
+## k__iore_parent_sink 0.3799625 3.406003e-01 0.00206198 70.01593
+## N_parent 0.0000000 5.000000e-01 -1.20105017 1.20105
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 1.008816e+02 NA NA NA
+## k1 4.856586e-03 NA NA NA
+## k2 4.856586e-03 NA NA NA
+## g 1.496838e-01 NA NA NA
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 143 474 143.0
+## IORE 131 236 71.2
+## DFOP 143 474 143.0
+##
+## Representative half-life:
+## [1] 71.18014</code></pre>
+<p>In mkin, only the IORE fit is affected (deemed unrealistic), as the fraction parameter of the DFOP model is restricted to the interval between 0 and 1 in mkin. The SFO fits give the same results for both mkin and PestDF.</p>
+</div>
+<div id="the-dfop-fraction-parameter-is-greater-than-1" class="section level1">
+<h1 class="hasAnchor">
+<a href="#the-dfop-fraction-parameter-is-greater-than-1" class="anchor"></a>The DFOP fraction parameter is greater than 1</h1>
+<div class="sourceCode" id="cb91"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb91-1" data-line-number="1">p16 &lt;-<span class="st"> </span><span class="kw"><a href="../../reference/nafta.html">nafta</a></span>(NAFTA_SOP_Attachment[[<span class="st">"p16"</span>]])</a></code></pre></div>
+<pre><code>## The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</code></pre>
+<pre><code>## The representative half-life of the IORE model is longer than the one corresponding</code></pre>
+<pre><code>## to the terminal degradation rate found with the DFOP model.</code></pre>
+<pre><code>## The representative half-life obtained from the DFOP model may be used</code></pre>
+<div class="sourceCode" id="cb96"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb96-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/graphics/topics/plot">plot</a></span>(p16)</a></code></pre></div>
+<p><img src="NAFTA_examples_files/figure-html/p16-1.png" width="700"></p>
+<div class="sourceCode" id="cb97"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb97-1" data-line-number="1"><span class="kw"><a href="https://www.rdocumentation.org/packages/base/topics/print">print</a></span>(p16)</a></code></pre></div>
+<pre><code>## Sums of squares:
+## SFO IORE DFOP
+## 3831.804 2062.008 1550.980
+##
+## Critical sum of squares for checking the SFO model:
+## [1] 2247.348
+##
+## Parameters:
+## $SFO
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 71.9528227 3.923531e-14 61.0870510 82.8185944
+## k_parent_sink 0.1594518 2.271601e-06 0.1110583 0.2289327
+##
+## $IORE
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 8.738846e+01 1.739390e-16 7.706991e+01 97.707005461
+## k__iore_parent_sink 4.549683e-04 2.282721e-01 3.008533e-05 0.006880303
+## N_parent 2.696278e+00 1.869479e-08 1.966442e+00 3.426114200
+##
+## $DFOP
+## Estimate Pr(&gt;t) Lower Upper
+## parent_0 88.53333334 NA 79.36733990 97.6993268
+## k1 18.55624337 NA 0.00000000 Inf
+## k2 0.07759679 NA 0.04709945 0.1278414
+## g 0.47333008 NA 0.31375096 0.6385506
+##
+##
+## DTx values:
+## DT50 DT90 DT50_rep
+## SFO 4.35 14.4 4.35
+## IORE 1.48 32.1 9.67
+## DFOP 0.67 21.4 8.93
+##
+## Representative half-life:
+## [1] 8.932679</code></pre>
+<p>In PestDF, the DFOP fit seems to have stuck in a local minimum, as mkin finds a solution with a much lower <span class="math inline">\(\chi^2\)</span> error level. As the half-life from the slower rate constant of the DFOP model is larger than the IORE derived half-life, the NAFTA recommendation obtained with mkin is to use the DFOP representative half-life of 8.9 days.</p>
+</div>
+<div id="conclusions" class="section level1">
+<h1 class="hasAnchor">
+<a href="#conclusions" class="anchor"></a>Conclusions</h1>
+<p>The results obtained with mkin deviate from the results obtained with PestDF either in cases where one of the interpretive rules would apply, i.e. the IORE parameter N is less than one or the DFOP k values obtained with PestDF are equal to the SFO k values, or in cases where the DFOP model did not converge, which often lead to negative rate constants returned by PestDF.</p>
+<p>Therefore, mkin appears to suitable for kinetic evaluations according to the NAFTA guidance.</p>
+</div>
+<div id="references" class="section level1 unnumbered">
+<h1 class="hasAnchor">
+<a href="#references" class="anchor"></a>References</h1>
+<div id="refs" class="references">
+<div id="ref-usepa2015">
+<p>US EPA. 2015. “Standard Operating Procedure for Using the NAFTA Guidance to Calculate Representative Half-Life Values and Characterizing Pesticide Degradation.”</p>
+</div>
+</div>
+</div>
+ </div>
+
+ <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
+ <div id="tocnav">
+ <h2 class="hasAnchor">
+<a href="#tocnav" class="anchor"></a>Contents</h2>
+ <ul class="nav nav-pills nav-stacked">
+<li><a href="#introduction">Introduction</a></li>
+ <li>
+<a href="#examples-where-dfop-did-not-converge-with-pestdf-0-8-4">Examples where DFOP did not converge with PestDF 0.8.4</a><ul class="nav nav-pills nav-stacked">
+<li><a href="#example-on-page-5-upper-panel">Example on page 5, upper panel</a></li>
+ <li><a href="#example-on-page-5-lower-panel">Example on page 5, lower panel</a></li>
+ <li><a href="#example-on-page-6">Example on page 6</a></li>
+ <li><a href="#example-on-page-7">Example on page 7</a></li>
+ </ul>
+</li>
+ <li>
+<a href="#examples-where-the-representative-half-life-deviates-from-the-observed-dt50">Examples where the representative half-life deviates from the observed DT50</a><ul class="nav nav-pills nav-stacked">
+<li><a href="#example-on-page-8">Example on page 8</a></li>
+ </ul>
+</li>
+ <li>
+<a href="#examples-where-sfo-was-not-selected-for-an-abiotic-study">Examples where SFO was not selected for an abiotic study</a><ul class="nav nav-pills nav-stacked">
+<li><a href="#example-on-page-9-upper-panel">Example on page 9, upper panel</a></li>
+ <li><a href="#example-on-page-9-lower-panel">Example on page 9, lower panel</a></li>
+ <li><a href="#example-on-page-10">Example on page 10</a></li>
+ </ul>
+</li>
+ <li>
+<a href="#the-dt50-was-not-observed-during-the-study">The DT50 was not observed during the study</a><ul class="nav nav-pills nav-stacked">
+<li><a href="#example-on-page-11">Example on page 11</a></li>
+ </ul>
+</li>
+ <li>
+<a href="#n-is-less-than-1-and-the-dfop-rate-constants-are-like-the-sfo-rate-constant">N is less than 1 and the DFOP rate constants are like the SFO rate constant</a><ul class="nav nav-pills nav-stacked">
+<li><a href="#example-on-page-12-upper-panel">Example on page 12, upper panel</a></li>
+ <li><a href="#example-on-page-12-lower-panel">Example on page 12, lower panel</a></li>
+ <li><a href="#example-on-page-13">Example on page 13</a></li>
+ </ul>
+</li>
+ <li><a href="#dt50-not-observed-in-the-study-and-dfop-problems-in-pestdf">DT50 not observed in the study and DFOP problems in PestDF</a></li>
+ <li><a href="#n-is-less-than-1-and-dfop-fraction-parameter-is-below-zero">N is less than 1 and DFOP fraction parameter is below zero</a></li>
+ <li><a href="#the-dfop-fraction-parameter-is-greater-than-1">The DFOP fraction parameter is greater than 1</a></li>
+ <li><a href="#conclusions">Conclusions</a></li>
+ <li><a href="#references">References</a></li>
+ </ul>
+</div>
+ </div>
+
+</div>
+
+
+ <footer><div class="copyright">
+ <p>Developed by Johannes Ranke.</p>
+</div>
+
+<div class="pkgdown">
+ <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.9000.</p>
+</div>
+ </footer>
+</div>
+
+
+
+ </body>
+</html>
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png
new file mode 100644
index 00000000..e4062661
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p10-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png
new file mode 100644
index 00000000..cc4ce2d7
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p11-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png
new file mode 100644
index 00000000..d2a334b7
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p12a-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png
new file mode 100644
index 00000000..9eb2b59f
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p12b-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png
new file mode 100644
index 00000000..df60b257
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p13-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png
new file mode 100644
index 00000000..02975183
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p14-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png
new file mode 100644
index 00000000..98fb5855
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p15a-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png
new file mode 100644
index 00000000..6b3a988a
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p15b-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png
new file mode 100644
index 00000000..d0ef1821
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p16-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png
new file mode 100644
index 00000000..3b39d9fa
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p5a-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png
new file mode 100644
index 00000000..e2666703
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p5b-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png
new file mode 100644
index 00000000..cad7f615
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p6-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png
new file mode 100644
index 00000000..7d93d546
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p7-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png
new file mode 100644
index 00000000..f86bbd54
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p8-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png
new file mode 100644
index 00000000..866f1523
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p9a-1.png
Binary files differ
diff --git a/docs/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png b/docs/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png
new file mode 100644
index 00000000..7f99d9cd
--- /dev/null
+++ b/docs/articles/web_only/NAFTA_examples_files/figure-html/p9b-1.png
Binary files differ
diff --git a/docs/articles/web_only/compiled_models.html b/docs/articles/web_only/compiled_models.html
index 6d4d1e42..0295d844 100644
--- a/docs/articles/web_only/compiled_models.html
+++ b/docs/articles/web_only/compiled_models.html
@@ -126,9 +126,9 @@
<a class="sourceLine" id="cb5-16" data-line-number="16">}</a></code></pre></div>
<pre><code>## Lade nötiges Paket: rbenchmark</code></pre>
<pre><code>## test replications elapsed relative user.self sys.self
-## 3 deSolve, compiled 3 2.323 1.000 2.321 0
-## 1 deSolve, not compiled 3 17.568 7.563 17.559 0
-## 2 Eigenvalue based 3 2.884 1.241 2.883 0
+## 3 deSolve, compiled 3 2.318 1.000 2.317 0
+## 1 deSolve, not compiled 3 17.559 7.575 17.551 0
+## 2 Eigenvalue based 3 2.859 1.233 2.857 0
## user.child sys.child
## 3 0 0
## 1 0 0
@@ -157,8 +157,8 @@
<a class="sourceLine" id="cb8-16" data-line-number="16">}</a></code></pre></div>
<pre><code>## Successfully compiled differential equation model from auto-generated C code.</code></pre>
<pre><code>## test replications elapsed relative user.self sys.self
-## 2 deSolve, compiled 3 4.078 1.000 4.075 0
-## 1 deSolve, not compiled 3 37.246 9.133 37.231 0
+## 2 deSolve, compiled 3 4.093 1.000 4.090 0
+## 1 deSolve, not compiled 3 37.258 9.103 37.241 0
## user.child sys.child
## 2 0 0
## 1 0 0</code></pre>
diff --git a/docs/authors.html b/docs/authors.html
index 1c3101aa..d3516580 100644
--- a/docs/authors.html
+++ b/docs/authors.html
@@ -94,6 +94,9 @@
<li>
<a href="articles/twa.html">Calculation of time weighted average concentrations with mkin</a>
</li>
+ <li>
+ <a href="articles/web_only/NAFTA_examples.html">Example evaluation of NAFTA SOP Attachment examples</a>
+ </li>
</ul>
</li>
<li>
diff --git a/docs/index.html b/docs/index.html
index 75cf8c00..47bc7464 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -71,6 +71,9 @@
<li>
<a href="articles/twa.html">Calculation of time weighted average concentrations with mkin</a>
</li>
+ <li>
+ <a href="articles/web_only/NAFTA_examples.html">Example evaluation of NAFTA SOP Attachment examples</a>
+ </li>
</ul>
</li>
<li>
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml
index 2783dff9..85d3ba48 100644
--- a/docs/pkgdown.yml
+++ b/docs/pkgdown.yml
@@ -7,5 +7,6 @@ articles:
mkin: mkin.html
twa: twa.html
FOCUS_Z: web_only/FOCUS_Z.html
+ NAFTA_examples: web_only/NAFTA_examples.html
compiled_models: web_only/compiled_models.html
diff --git a/docs/reference/AIC.mmkin.html b/docs/reference/AIC.mmkin.html
index 69552d5f..2a4a6de4 100644
--- a/docs/reference/AIC.mmkin.html
+++ b/docs/reference/AIC.mmkin.html
@@ -160,8 +160,8 @@
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'> <span class='no'>f</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mmkin.html'>mmkin</a></span>(<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='st'>"SFO"</span>, <span class='st'>"FOMC"</span>, <span class='st'>"DFOP"</span>),
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/list'>list</a></span>(<span class='st'>"FOCUS A"</span> <span class='kw'>=</span> <span class='no'>FOCUS_2006_A</span>,
- <span class='st'>"FOCUS C"</span> <span class='kw'>=</span> <span class='no'>FOCUS_2006_C</span>))
- <span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/AIC'>AIC</a></span>(<span class='no'>f</span>[<span class='fl'>1</span>, <span class='st'>"FOCUS A"</span>]) <span class='co'># We get a single number for a single fit</span></div><div class='output co'>#&gt; [1] 55.32452</div><div class='input'>
+ <span class='st'>"FOCUS C"</span> <span class='kw'>=</span> <span class='no'>FOCUS_2006_C</span>), <span class='kw'>cores</span> <span class='kw'>=</span> <span class='fl'>1</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)</div><div class='output co'>#&gt; <span class='warning'>Warning: Optimisation by method Port did not converge:</span>
+#&gt; <span class='warning'>false convergence (8)</span></div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/AIC'>AIC</a></span>(<span class='no'>f</span>[<span class='fl'>1</span>, <span class='st'>"FOCUS A"</span>]) <span class='co'># We get a single number for a single fit</span></div><div class='output co'>#&gt; [1] 55.32452</div><div class='input'>
<span class='co'># For FOCUS A, the models fit almost equally well, so the higher the number</span>
<span class='co'># of parameters, the higher (worse) the AIC</span>
<span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/AIC'>AIC</a></span>(<span class='no'>f</span>[, <span class='st'>"FOCUS A"</span>])</div><div class='output co'>#&gt; df AIC
diff --git a/docs/reference/Extract.mmkin.html b/docs/reference/Extract.mmkin.html
index 873d75bd..f10805a0 100644
--- a/docs/reference/Extract.mmkin.html
+++ b/docs/reference/Extract.mmkin.html
@@ -280,7 +280,7 @@
#&gt;
#&gt; $time
#&gt; User System verstrichen
-#&gt; 0.195 0.000 0.195
+#&gt; 0.071 0.000 0.071
#&gt;
#&gt; $mkinmod
#&gt; &lt;mkinmod&gt; model generated with
@@ -469,8 +469,8 @@
#&gt; }
#&gt; return(mC)
#&gt; }
-#&gt; &lt;bytecode: 0x55555925ca08&gt;
-#&gt; &lt;environment: 0x55555b668200&gt;
+#&gt; &lt;bytecode: 0x55555bb55ad0&gt;
+#&gt; &lt;environment: 0x55555c4dcf70&gt;
#&gt;
#&gt; $cost_notrans
#&gt; function (P)
@@ -492,8 +492,8 @@
#&gt; scaleVar = scaleVar)
#&gt; return(mC)
#&gt; }
-#&gt; &lt;bytecode: 0x55555a590818&gt;
-#&gt; &lt;environment: 0x55555b668200&gt;
+#&gt; &lt;bytecode: 0x55555c537298&gt;
+#&gt; &lt;environment: 0x55555c4dcf70&gt;
#&gt;
#&gt; $hessian_notrans
#&gt; parent_0 k_parent_sink
@@ -560,7 +560,7 @@
#&gt; 99.17407
#&gt;
#&gt; $date
-#&gt; [1] "Tue Feb 26 09:27:10 2019"
+#&gt; [1] "Tue Feb 26 20:23:09 2019"
#&gt;
#&gt; $version
#&gt; [1] "0.9.48.1"
diff --git a/docs/reference/NAFTA_SOP_2015.html b/docs/reference/NAFTA_SOP_2015.html
index 4a2c71a9..f4d89222 100644
--- a/docs/reference/NAFTA_SOP_2015.html
+++ b/docs/reference/NAFTA_SOP_2015.html
@@ -152,7 +152,8 @@
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
- <pre class="examples"><div class='input'> <span class='no'>nafta_evaluation</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='nafta.html'>nafta</a></span>(<span class='no'>NAFTA_SOP_Appendix_D</span>)</div><div class='output co'>#&gt; <span class='message'>The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#&gt; <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life obtained from the DFOP model may be used</span></div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='no'>nafta_evaluation</span>)</div><div class='output co'>#&gt; Sums of squares:
+ <pre class="examples"><div class='input'> <span class='no'>nafta_evaluation</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='nafta.html'>nafta</a></span>(<span class='no'>NAFTA_SOP_Appendix_D</span>, <span class='kw'>cores</span> <span class='kw'>=</span> <span class='fl'>1</span>)</div><div class='output co'>#&gt; <span class='warning'>Warning: Calculation of the Jacobian failed for the cost function of the untransformed model.</span>
+#&gt; <span class='warning'>No t-test results will be available</span></div><div class='output co'>#&gt; <span class='message'>The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#&gt; <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life obtained from the DFOP model may be used</span></div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='no'>nafta_evaluation</span>)</div><div class='output co'>#&gt; Sums of squares:
#&gt; SFO IORE DFOP
#&gt; 1378.6832 615.7730 517.8836
#&gt;
@@ -168,8 +169,8 @@
#&gt; $IORE
#&gt; Estimate Pr(&gt;t) Lower Upper
#&gt; parent_0 9.685291e+01 NA 8.752855e+01 1.061773e+02
-#&gt; k__iore_parent_sink 8.403374e-14 NA 1.092054e-19 6.466412e-08
-#&gt; N_parent 6.684458e+00 NA 3.538511e+00 9.830405e+00
+#&gt; k__iore_parent_sink 8.403401e-14 NA 1.092058e-19 6.466429e-08
+#&gt; N_parent 6.684457e+00 NA 3.538510e+00 9.830404e+00
#&gt;
#&gt; $DFOP
#&gt; Estimate Pr(&gt;t) Lower Upper
@@ -181,9 +182,9 @@
#&gt;
#&gt; DTx values:
#&gt; DT50 DT90 DT50_rep
-#&gt; SFO 407 1352 407
-#&gt; IORE 541 5192066 1562968
-#&gt; DFOP 429 2383 841
+#&gt; SFO 407 1350 407
+#&gt; IORE 541 5190000 1560000
+#&gt; DFOP 429 2380 841
#&gt;
#&gt; Representative half-life:
#&gt; [1] 841.4096</div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/graphics/topics/plot'>plot</a></span>(<span class='no'>nafta_evaluation</span>)</div><div class='img'><img src='NAFTA_SOP_2015-1.png' alt='' width='700' height='433' /></div></pre>
diff --git a/docs/reference/NAFTA_SOP_Attachment-1.png b/docs/reference/NAFTA_SOP_Attachment-1.png
new file mode 100644
index 00000000..d781cdb0
--- /dev/null
+++ b/docs/reference/NAFTA_SOP_Attachment-1.png
Binary files differ
diff --git a/docs/reference/NAFTA_SOP_Attachment.html b/docs/reference/NAFTA_SOP_Attachment.html
new file mode 100644
index 00000000..63b47855
--- /dev/null
+++ b/docs/reference/NAFTA_SOP_Attachment.html
@@ -0,0 +1,217 @@
+<!-- Generated by pkgdown: do not edit by hand -->
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+<meta http-equiv="X-UA-Compatible" content="IE=edge">
+<meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+<title>Example datasets from Attachment 1 to the NAFTA SOP published 2015 — NAFTA_SOP_Attachment • mkin</title>
+
+<!-- jquery -->
+<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
+<!-- Bootstrap -->
+
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
+<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha256-U5ZEeKfGNOja007MMD3YBI0A3OSZOQbeG6z2f2Y0hu8=" crossorigin="anonymous"></script>
+
+<!-- Font Awesome icons -->
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
+
+<!-- clipboard.js -->
+<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js" integrity="sha256-FiZwavyI2V6+EXO1U+xzLG3IKldpiTFf3153ea9zikQ=" crossorigin="anonymous"></script>
+
+<!-- sticky kit -->
+<script src="https://cdnjs.cloudflare.com/ajax/libs/sticky-kit/1.1.3/sticky-kit.min.js" integrity="sha256-c4Rlo1ZozqTPE2RLuvbusY3+SU1pQaJC0TjuhygMipw=" crossorigin="anonymous"></script>
+
+<!-- pkgdown -->
+<link href="../pkgdown.css" rel="stylesheet">
+<script src="../pkgdown.js"></script>
+
+
+
+<meta property="og:title" content="Example datasets from Attachment 1 to the NAFTA SOP published 2015 — NAFTA_SOP_Attachment" />
+
+<meta property="og:description" content="Data taken from from Attachment 1 of the SOP." />
+<meta name="twitter:card" content="summary" />
+
+
+
+<!-- mathjax -->
+<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script>
+
+<!--[if lt IE 9]>
+<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
+<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
+<![endif]-->
+
+
+ </head>
+
+ <body>
+ <div class="container template-reference-topic">
+ <header>
+ <div class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <div class="container">
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <span class="navbar-brand">
+ <a class="navbar-link" href="../index.html">mkin</a>
+ <span class="version label label-default" data-toggle="tooltip" data-placement="bottom" title="Released version">0.9.48.1</span>
+ </span>
+ </div>
+
+ <div id="navbar" class="navbar-collapse collapse">
+ <ul class="nav navbar-nav">
+ <li>
+ <a href="../reference/index.html">Functions and data</a>
+</li>
+<li class="dropdown">
+ <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
+ Articles
+
+ <span class="caret"></span>
+ </a>
+ <ul class="dropdown-menu" role="menu">
+ <li>
+ <a href="../articles/mkin.html">Introduction to mkin</a>
+ </li>
+ <li>
+ <a href="../articles/FOCUS_D.html">Example evaluation of FOCUS Example Dataset D</a>
+ </li>
+ <li>
+ <a href="../articles/FOCUS_L.html">Example evaluation of FOCUS Laboratory Data L1 to L3</a>
+ </li>
+ <li>
+ <a href="../articles/web_only/FOCUS_Z.html">Example evaluation of FOCUS Example Dataset Z</a>
+ </li>
+ <li>
+ <a href="../articles/web_only/compiled_models.html">Performance benefit by using compiled model definitions in mkin</a>
+ </li>
+ <li>
+ <a href="../articles/twa.html">Calculation of time weighted average concentrations with mkin</a>
+ </li>
+ </ul>
+</li>
+<li>
+ <a href="../news/index.html">News</a>
+</li>
+ </ul>
+
+ <ul class="nav navbar-nav navbar-right">
+
+ </ul>
+
+ </div><!--/.nav-collapse -->
+ </div><!--/.container -->
+</div><!--/.navbar -->
+
+
+ </header>
+
+<div class="row">
+ <div class="col-md-9 contents">
+ <div class="page-header">
+ <h1>Example datasets from Attachment 1 to the NAFTA SOP published 2015</h1>
+
+ <div class="hidden name"><code>NAFTA_SOP_Attachment.Rd</code></div>
+ </div>
+
+ <div class="ref-description">
+
+ <p>Data taken from from Attachment 1 of the SOP.</p>
+
+ </div>
+
+ <pre class="usage"><span class='no'>NAFTA_SOP_Attachment</span></pre>
+
+ <h2 class="hasAnchor" id="format"><a class="anchor" href="#format"></a>Format</h2>
+
+ <p>Additionally, a list (NAFTA_SOP_Attachment) containing 16 datasets suitable
+ for the evaluation with <code><a href='nafta.html'>nafta</a></code></p>
+
+ <h2 class="hasAnchor" id="source"><a class="anchor" href="#source"></a>Source</h2>
+
+ <p>NAFTA (2011) Guidance for evaluating and calculating degradation kinetics
+ in environmental media. NAFTA Technical Working Group on Pesticides
+ <a href='https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/guidance-evaluating-and-calculating-degradation'>https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/guidance-evaluating-and-calculating-degradation</a>
+ accessed 2019-02-22</p>
+<p>US EPA (2015) Standard Operating Procedure for Using the NAFTA Guidance to
+ Calculate Representative Half-life Values and Characterizing Pesticide
+ Degradation
+ <a href='https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/standard-operating-procedure-using-nafta-guidance'>https://www.epa.gov/pesticide-science-and-assessing-pesticide-risks/standard-operating-procedure-using-nafta-guidance</a></p>
+
+
+ <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
+ <pre class="examples"><div class='input'> <span class='no'>nafta_att_p5a</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='nafta.html'>nafta</a></span>(<span class='no'>NAFTA_SOP_Attachment</span><span class='kw'>[[</span><span class='st'>"p5a"</span>]], <span class='kw'>cores</span> <span class='kw'>=</span> <span class='fl'>1</span>)</div><div class='output co'>#&gt; <span class='message'>The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</span></div><div class='output co'>#&gt; <span class='message'>The half-life obtained from the IORE model may be used</span></div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='no'>nafta_att_p5a</span>)</div><div class='output co'>#&gt; Sums of squares:
+#&gt; SFO IORE DFOP
+#&gt; 465.21753 56.27506 32.06401
+#&gt;
+#&gt; Critical sum of squares for checking the SFO model:
+#&gt; [1] 64.4304
+#&gt;
+#&gt; Parameters:
+#&gt; $SFO
+#&gt; Estimate Pr(&gt;t) Lower Upper
+#&gt; parent_0 95.84012168 1.095639e-21 92.120517864 99.55972549
+#&gt; k_parent_sink 0.01024015 1.710227e-12 0.008996874 0.01165524
+#&gt;
+#&gt; $IORE
+#&gt; Estimate Pr(&gt;t) Lower Upper
+#&gt; parent_0 1.007532e+02 2.365797e-26 9.891170e+01 1.025947e+02
+#&gt; k__iore_parent_sink 1.544192e-05 8.733384e-02 3.482391e-06 6.847393e-05
+#&gt; N_parent 2.569877e+00 1.140446e-11 2.215298e+00 2.924456e+00
+#&gt;
+#&gt; $DFOP
+#&gt; Estimate Pr(&gt;t) Lower Upper
+#&gt; parent_0 9.994630e+01 4.330861e-27 NA NA
+#&gt; k1 2.674255e-02 3.171390e-05 NA NA
+#&gt; k2 2.161318e-12 5.000000e-01 NA NA
+#&gt; g 6.465276e-01 2.129114e-05 NA NA
+#&gt;
+#&gt;
+#&gt; DTx values:
+#&gt; DT50 DT90 DT50_rep
+#&gt; SFO 67.7 2.25e+02 6.77e+01
+#&gt; IORE 58.2 1.07e+03 3.22e+02
+#&gt; DFOP 55.5 5.84e+11 3.21e+11
+#&gt;
+#&gt; Representative half-life:
+#&gt; [1] 321.5119</div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/graphics/topics/plot'>plot</a></span>(<span class='no'>nafta_att_p5a</span>)</div><div class='img'><img src='NAFTA_SOP_Attachment-1.png' alt='' width='700' height='433' /></div></pre>
+ </div>
+ <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
+ <h2>Contents</h2>
+ <ul class="nav nav-pills nav-stacked">
+
+ <li><a href="#format">Format</a></li>
+
+ <li><a href="#source">Source</a></li>
+
+ <li><a href="#examples">Examples</a></li>
+ </ul>
+
+ </div>
+</div>
+
+ <footer>
+ <div class="copyright">
+ <p>Developed by Johannes Ranke.</p>
+</div>
+
+<div class="pkgdown">
+ <p>Site built with <a href="https://pkgdown.r-lib.org/">pkgdown</a> 1.3.0.9000.</p>
+</div>
+ </footer>
+ </div>
+
+
+
+ </body>
+</html>
+
diff --git a/docs/reference/index.html b/docs/reference/index.html
index a251dc33..4e57fd3d 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -338,7 +338,9 @@
<td>
<p><code><a href="plot.nafta.html">plot(<i>&lt;nafta&gt;</i>)</a></code> </p>
</td>
- <td><p>Plot the results of the three models used in the NAFTA scheme</p></td>
+ <td><p>Plot the results of the three models used in the NAFTA scheme. The plots
+ are ordered with increasing complexity of the model in this function
+ (SFO, then IORE, then DFOP).</p></td>
</tr>
</tbody><tbody>
<tr>
diff --git a/docs/reference/mccall81_245T.html b/docs/reference/mccall81_245T.html
index 1845a31c..2e5f0ac2 100644
--- a/docs/reference/mccall81_245T.html
+++ b/docs/reference/mccall81_245T.html
@@ -160,8 +160,8 @@
<span class='kw'>anisole</span> <span class='kw'>=</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/list'>list</a></span>(<span class='kw'>type</span> <span class='kw'>=</span> <span class='st'>"SFO"</span>))</div><div class='output co'>#&gt; <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'> </div><div class='input'> <span class='no'>fit.1</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='no'>SFO_SFO_SFO</span>, <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/subset'>subset</a></span>(<span class='no'>mccall81_245T</span>, <span class='no'>soil</span> <span class='kw'>==</span> <span class='st'>"Commerce"</span>), <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit.1</span>, <span class='kw'>data</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:31 2019
-#&gt; Date of summary: Tue Feb 26 09:27:31 2019
+#&gt; Date of fit: Tue Feb 26 20:23:32 2019
+#&gt; Date of summary: Tue Feb 26 20:23:32 2019
#&gt;
#&gt; Equations:
#&gt; d_T245/dt = - k_T245_sink * T245 - k_T245_phenol * T245
@@ -171,7 +171,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 574 model solutions performed in 3.812 s
+#&gt; Fitted with method Port using 574 model solutions performed in 3.765 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -249,8 +249,8 @@
<span class='kw'>fixed_parms</span> <span class='kw'>=</span> <span class='st'>"k_phenol_sink"</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit.2</span>, <span class='kw'>data</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:33 2019
-#&gt; Date of summary: Tue Feb 26 09:27:33 2019
+#&gt; Date of fit: Tue Feb 26 20:23:34 2019
+#&gt; Date of summary: Tue Feb 26 20:23:34 2019
#&gt;
#&gt; Equations:
#&gt; d_T245/dt = - k_T245_sink * T245 - k_T245_phenol * T245
@@ -260,7 +260,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 246 model solutions performed in 1.597 s
+#&gt; Fitted with method Port using 246 model solutions performed in 1.601 s
#&gt;
#&gt; Weighting: none
#&gt;
diff --git a/docs/reference/mkinfit.html b/docs/reference/mkinfit.html
index 53f46988..84c0fc49 100644
--- a/docs/reference/mkinfit.html
+++ b/docs/reference/mkinfit.html
@@ -438,15 +438,15 @@
<span class='no'>fit</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='st'>"FOMC"</span>, <span class='no'>FOCUS_2006_C</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:36 2019
-#&gt; Date of summary: Tue Feb 26 09:27:36 2019
+#&gt; Date of fit: Tue Feb 26 20:23:36 2019
+#&gt; Date of summary: Tue Feb 26 20:23:36 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
#&gt;
#&gt; Model predictions using solution type analytical
#&gt;
-#&gt; Fitted with method Port using 64 model solutions performed in 0.163 s
+#&gt; Fitted with method Port using 64 model solutions performed in 0.161 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -515,7 +515,7 @@
<span class='kw'>m1</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>))</div><div class='output co'>#&gt; <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'><span class='co'># Fit the model to the FOCUS example dataset D using defaults</span>
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/system.time'>system.time</a></span>(<span class='no'>fit</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>SFO_SFO</span>, <span class='no'>FOCUS_2006_D</span>,
<span class='kw'>solution_type</span> <span class='kw'>=</span> <span class='st'>"eigen"</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)))</div><div class='output co'>#&gt; User System verstrichen
-#&gt; 1.008 0.000 1.008 </div><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/coef'>coef</a></span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; parent_0 log_k_parent_sink log_k_parent_m1 log_k_m1_sink
+#&gt; 1.081 0.000 1.081 </div><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/coef'>coef</a></span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; parent_0 log_k_parent_sink log_k_parent_m1 log_k_m1_sink
#&gt; 99.59848 -3.03822 -2.98030 -5.24750 </div><div class='input'><span class='fu'><a href='endpoints.html'>endpoints</a></span>(<span class='no'>fit</span>)</div><div class='output co'>#&gt; $ff
#&gt; parent_sink parent_m1 m1_sink
#&gt; 0.485524 0.514476 1.000000
@@ -590,7 +590,7 @@
#&gt; Model cost at call 146 : 371.2134
#&gt; Optimisation by method Port successfully terminated.
#&gt; User System verstrichen
-#&gt; 0.812 0.000 0.813 </div><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/coef'>coef</a></span>(<span class='no'>fit.deSolve</span>)</div><div class='output co'>#&gt; parent_0 log_k_parent_sink log_k_parent_m1 log_k_m1_sink
+#&gt; 0.812 0.000 0.812 </div><div class='input'><span class='fu'><a href='https://www.rdocumentation.org/packages/stats/topics/coef'>coef</a></span>(<span class='no'>fit.deSolve</span>)</div><div class='output co'>#&gt; parent_0 log_k_parent_sink log_k_parent_m1 log_k_m1_sink
#&gt; 99.59848 -3.03822 -2.98030 -5.24750 </div><div class='input'><span class='fu'><a href='endpoints.html'>endpoints</a></span>(<span class='no'>fit.deSolve</span>)</div><div class='output co'>#&gt; $ff
#&gt; parent_sink parent_m1 m1_sink
#&gt; 0.485524 0.514476 1.000000
@@ -628,8 +628,8 @@
<span class='kw'>m1</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>), <span class='kw'>use_of_ff</span> <span class='kw'>=</span> <span class='st'>"max"</span>)</div><div class='output co'>#&gt; <span class='message'>Successfully compiled differential equation model from auto-generated C code.</span></div><div class='input'><span class='no'>f.noweight</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>SFO_SFO.ff</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>f.noweight</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:48 2019
-#&gt; Date of summary: Tue Feb 26 09:27:48 2019
+#&gt; Date of fit: Tue Feb 26 20:23:48 2019
+#&gt; Date of summary: Tue Feb 26 20:23:48 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -637,7 +637,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 186 model solutions performed in 0.845 s
+#&gt; Fitted with method Port using 186 model solutions performed in 0.852 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -745,8 +745,8 @@
#&gt; 120 m1 33.31 28.78984 4.520e+00</div><div class='input'><span class='no'>f.irls</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>SFO_SFO.ff</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>reweight.method</span> <span class='kw'>=</span> <span class='st'>"obs"</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>f.irls</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:50 2019
-#&gt; Date of summary: Tue Feb 26 09:27:50 2019
+#&gt; Date of fit: Tue Feb 26 20:23:51 2019
+#&gt; Date of summary: Tue Feb 26 20:23:51 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -754,7 +754,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 551 model solutions performed in 2.523 s
+#&gt; Fitted with method Port using 551 model solutions performed in 2.6 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -867,8 +867,8 @@
#&gt; 120 m1 33.31 28.80898 4.501e+00 2.722</div><div class='input'><span class='no'>f.w.mean</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>SFO_SFO.ff</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>weight</span> <span class='kw'>=</span> <span class='st'>"mean"</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>f.w.mean</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:51 2019
-#&gt; Date of summary: Tue Feb 26 09:27:51 2019
+#&gt; Date of fit: Tue Feb 26 20:23:52 2019
+#&gt; Date of summary: Tue Feb 26 20:23:52 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -876,7 +876,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 155 model solutions performed in 0.705 s
+#&gt; Fitted with method Port using 155 model solutions performed in 0.704 s
#&gt;
#&gt; Weighting: mean
#&gt;
@@ -985,8 +985,8 @@
<span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>f.w.value</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:52 2019
-#&gt; Date of summary: Tue Feb 26 09:27:52 2019
+#&gt; Date of fit: Tue Feb 26 20:23:53 2019
+#&gt; Date of summary: Tue Feb 26 20:23:53 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -994,7 +994,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 174 model solutions performed in 0.8 s
+#&gt; Fitted with method Port using 174 model solutions performed in 0.796 s
#&gt;
#&gt; Weighting: manual
#&gt;
@@ -1105,8 +1105,8 @@
<span class='no'>f.w.man</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinfit</span>(<span class='no'>SFO_SFO.ff</span>, <span class='no'>dw</span>, <span class='kw'>err</span> <span class='kw'>=</span> <span class='st'>"err.man"</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>f.w.man</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:54 2019
-#&gt; Date of summary: Tue Feb 26 09:27:54 2019
+#&gt; Date of fit: Tue Feb 26 20:23:54 2019
+#&gt; Date of summary: Tue Feb 26 20:23:54 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -1223,8 +1223,8 @@
<span class='kw'>reweight.method</span> <span class='kw'>=</span> <span class='st'>"obs"</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>f.w.man.irls</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:27:57 2019
-#&gt; Date of summary: Tue Feb 26 09:27:57 2019
+#&gt; Date of fit: Tue Feb 26 20:23:58 2019
+#&gt; Date of summary: Tue Feb 26 20:23:58 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -1232,7 +1232,7 @@
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 692 model solutions performed in 3.246 s
+#&gt; Fitted with method Port using 692 model solutions performed in 3.182 s
#&gt;
#&gt; Weighting: manual
#&gt;
diff --git a/docs/reference/mkinmod.html b/docs/reference/mkinmod.html
index bcf39e7f..a6dd68c5 100644
--- a/docs/reference/mkinmod.html
+++ b/docs/reference/mkinmod.html
@@ -231,7 +231,7 @@ For the definition of model types and their parameters, the equations given
<span class='no'>SFO_SFO</span> <span class='kw'>&lt;-</span> <span class='fu'>mkinmod</span>(
<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>, <span class='st'>"m1"</span>),
<span class='kw'>m1</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>), <span class='kw'>verbose</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)</div><div class='output co'>#&gt; Compilation argument:
-#&gt; /usr/lib/R/bin/R CMD SHLIB file4a116f6acbf1.c 2&gt; file4a116f6acbf1.c.err.txt
+#&gt; /usr/lib/R/bin/R CMD SHLIB file240f6aec3e43.c 2&gt; file240f6aec3e43.c.err.txt
#&gt; Program source:
#&gt; 1: #include &lt;R.h&gt;
#&gt; 2:
diff --git a/docs/reference/mkinpredict.html b/docs/reference/mkinpredict.html
index a38de769..bab6deb8 100644
--- a/docs/reference/mkinpredict.html
+++ b/docs/reference/mkinpredict.html
@@ -325,7 +325,7 @@
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>m1</span> <span class='kw'>=</span> <span class='fl'>0</span>), <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/seq'>seq</a></span>(<span class='fl'>0</span>, <span class='fl'>20</span>, <span class='kw'>by</span> <span class='kw'>=</span> <span class='fl'>0.1</span>),
<span class='kw'>solution_type</span> <span class='kw'>=</span> <span class='st'>"eigen"</span>)[<span class='fl'>201</span>,]))</div><div class='output co'>#&gt; time parent m1
#&gt; 201 20 4.978707 27.46227</div><div class='output co'>#&gt; User System verstrichen
-#&gt; 0.004 0.000 0.004 </div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/system.time'>system.time</a></span>(
+#&gt; 0.003 0.000 0.004 </div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/system.time'>system.time</a></span>(
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='fu'>mkinpredict</span>(<span class='no'>SFO_SFO</span>, <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='kw'>k_parent_m1</span> <span class='kw'>=</span> <span class='fl'>0.05</span>, <span class='kw'>k_parent_sink</span> <span class='kw'>=</span> <span class='fl'>0.1</span>, <span class='kw'>k_m1_sink</span> <span class='kw'>=</span> <span class='fl'>0.01</span>),
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>m1</span> <span class='kw'>=</span> <span class='fl'>0</span>), <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/seq'>seq</a></span>(<span class='fl'>0</span>, <span class='fl'>20</span>, <span class='kw'>by</span> <span class='kw'>=</span> <span class='fl'>0.1</span>),
<span class='kw'>solution_type</span> <span class='kw'>=</span> <span class='st'>"deSolve"</span>)[<span class='fl'>201</span>,]))</div><div class='output co'>#&gt; time parent m1
@@ -335,7 +335,7 @@
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/c'>c</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fl'>100</span>, <span class='kw'>m1</span> <span class='kw'>=</span> <span class='fl'>0</span>), <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/seq'>seq</a></span>(<span class='fl'>0</span>, <span class='fl'>20</span>, <span class='kw'>by</span> <span class='kw'>=</span> <span class='fl'>0.1</span>),
<span class='kw'>solution_type</span> <span class='kw'>=</span> <span class='st'>"deSolve"</span>, <span class='kw'>use_compiled</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)[<span class='fl'>201</span>,]))</div><div class='output co'>#&gt; time parent m1
#&gt; 201 20 4.978707 27.46227</div><div class='output co'>#&gt; User System verstrichen
-#&gt; 0.040 0.000 0.039 </div><div class='input'>
+#&gt; 0.039 0.000 0.040 </div><div class='input'>
</div><div class='input'> <span class='co'># Predict from a fitted model</span>
<span class='no'>f</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='no'>SFO_SFO</span>, <span class='no'>FOCUS_2006_C</span>)</div><div class='output co'>#&gt; Model cost at call 1 : 552.5739
#&gt; Model cost at call 3 : 552.5739
diff --git a/docs/reference/mmkin.html b/docs/reference/mmkin.html
index 6613f35c..0078baed 100644
--- a/docs/reference/mmkin.html
+++ b/docs/reference/mmkin.html
@@ -191,8 +191,8 @@
<span class='no'>time_1</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/system.time'>system.time</a></span>(<span class='no'>fits.4</span> <span class='kw'>&lt;-</span> <span class='fu'>mmkin</span>(<span class='no'>models</span>, <span class='no'>datasets</span>, <span class='kw'>cores</span> <span class='kw'>=</span> <span class='fl'>1</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>))
<span class='no'>time_default</span></div><div class='output co'>#&gt; User System verstrichen
-#&gt; 0.052 0.024 7.037 </div><div class='input'><span class='no'>time_1</span></div><div class='output co'>#&gt; User System verstrichen
-#&gt; 22.463 0.000 22.476 </div><div class='input'>
+#&gt; 0.059 0.021 6.916 </div><div class='input'><span class='no'>time_1</span></div><div class='output co'>#&gt; User System verstrichen
+#&gt; 22.506 0.000 22.518 </div><div class='input'>
<span class='fu'><a href='endpoints.html'>endpoints</a></span>(<span class='no'>fits.0</span><span class='kw'>[[</span><span class='st'>"SFO_lin"</span>, <span class='fl'>2</span>]])</div><div class='output co'>#&gt; $ff
#&gt; parent_M1 parent_sink M1_M2 M1_sink
#&gt; 0.7340480 0.2659520 0.7505686 0.2494314
diff --git a/docs/reference/nafta.html b/docs/reference/nafta.html
index b1d45272..9b879786 100644
--- a/docs/reference/nafta.html
+++ b/docs/reference/nafta.html
@@ -133,7 +133,7 @@
</div>
- <pre class="usage"><span class='fu'>nafta</span>(<span class='no'>ds</span>, <span class='kw'>title</span> <span class='kw'>=</span> <span class='fl'>NA</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</pre>
+ <pre class="usage">nafta(ds, title = NA, quiet = FALSE, &#8230;)</pre>
<h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
<table class="ref-arguments">
@@ -153,6 +153,10 @@
<th>quiet</th>
<td><p>Should the evaluation text be shown?</p></td>
</tr>
+ <tr>
+ <th>&#8230;</th>
+ <td><p>Further arguments passed to <code><a href='mmkin.html'>mmkin</a></code>.</p></td>
+ </tr>
</table>
<h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>
@@ -175,7 +179,8 @@
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
- <pre class="examples"><div class='input'> <span class='no'>nafta_evaluation</span> <span class='kw'>&lt;-</span> <span class='fu'>nafta</span>(<span class='no'>NAFTA_SOP_Appendix_D</span>)</div><div class='output co'>#&gt; <span class='message'>The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#&gt; <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life obtained from the DFOP model may be used</span></div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='no'>nafta_evaluation</span>)</div><div class='output co'>#&gt; Sums of squares:
+ <pre class="examples"><div class='input'> <span class='no'>nafta_evaluation</span> <span class='kw'>&lt;-</span> <span class='fu'>nafta</span>(<span class='no'>NAFTA_SOP_Appendix_D</span>, <span class='kw'>cores</span> <span class='kw'>=</span> <span class='fl'>1</span>)</div><div class='output co'>#&gt; <span class='warning'>Warning: Calculation of the Jacobian failed for the cost function of the untransformed model.</span>
+#&gt; <span class='warning'>No t-test results will be available</span></div><div class='output co'>#&gt; <span class='message'>The SFO model is rejected as S_SFO is equal or higher than the critical value S_c</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#&gt; <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#&gt; <span class='message'>The representative half-life obtained from the DFOP model may be used</span></div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/print'>print</a></span>(<span class='no'>nafta_evaluation</span>)</div><div class='output co'>#&gt; Sums of squares:
#&gt; SFO IORE DFOP
#&gt; 1378.6832 615.7730 517.8836
#&gt;
@@ -191,8 +196,8 @@
#&gt; $IORE
#&gt; Estimate Pr(&gt;t) Lower Upper
#&gt; parent_0 9.685291e+01 NA 8.752855e+01 1.061773e+02
-#&gt; k__iore_parent_sink 8.403374e-14 NA 1.092054e-19 6.466412e-08
-#&gt; N_parent 6.684458e+00 NA 3.538511e+00 9.830405e+00
+#&gt; k__iore_parent_sink 8.403401e-14 NA 1.092058e-19 6.466429e-08
+#&gt; N_parent 6.684457e+00 NA 3.538510e+00 9.830404e+00
#&gt;
#&gt; $DFOP
#&gt; Estimate Pr(&gt;t) Lower Upper
@@ -204,9 +209,9 @@
#&gt;
#&gt; DTx values:
#&gt; DT50 DT90 DT50_rep
-#&gt; SFO 407 1352 407
-#&gt; IORE 541 5192066 1562968
-#&gt; DFOP 429 2383 841
+#&gt; SFO 407 1350 407
+#&gt; IORE 541 5190000 1560000
+#&gt; DFOP 429 2380 841
#&gt;
#&gt; Representative half-life:
#&gt; [1] 841.4096</div><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/graphics/topics/plot'>plot</a></span>(<span class='no'>nafta_evaluation</span>)</div><div class='img'><img src='nafta-1.png' alt='' width='700' height='433' /></div></pre>
diff --git a/docs/reference/plot.nafta.html b/docs/reference/plot.nafta.html
index 76da1ffa..7949d36c 100644
--- a/docs/reference/plot.nafta.html
+++ b/docs/reference/plot.nafta.html
@@ -6,7 +6,9 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<title>Plot the results of the three models used in the NAFTA scheme — plot.nafta • mkin</title>
+<title>Plot the results of the three models used in the NAFTA scheme. The plots
+ are ordered with increasing complexity of the model in this function
+ (SFO, then IORE, then DFOP). — plot.nafta • mkin</title>
<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
@@ -30,7 +32,9 @@
-<meta property="og:title" content="Plot the results of the three models used in the NAFTA scheme — plot.nafta" />
+<meta property="og:title" content="Plot the results of the three models used in the NAFTA scheme. The plots
+ are ordered with increasing complexity of the model in this function
+ (SFO, then IORE, then DFOP). — plot.nafta" />
<meta property="og:description" content="Calls plot.mmkin." />
<meta name="twitter:card" content="summary" />
@@ -118,7 +122,9 @@
<div class="row">
<div class="col-md-9 contents">
<div class="page-header">
- <h1>Plot the results of the three models used in the NAFTA scheme</h1>
+ <h1>Plot the results of the three models used in the NAFTA scheme. The plots
+ are ordered with increasing complexity of the model in this function
+ (SFO, then IORE, then DFOP).</h1>
<div class="hidden name"><code>plot.nafta.Rd</code></div>
</div>
diff --git a/docs/reference/print.nafta.html b/docs/reference/print.nafta.html
index ac276857..44f1f6e5 100644
--- a/docs/reference/print.nafta.html
+++ b/docs/reference/print.nafta.html
@@ -32,7 +32,9 @@
<meta property="og:title" content="Print nafta objects — print.nafta" />
-<meta property="og:description" content="Print nafta objects." />
+<meta property="og:description" content="Print nafta objects. The results for the three models
+ are printed in the order of increasing model complexity,
+ i.e. SFO, then IORE, and finally DFOP." />
<meta name="twitter:card" content="summary" />
@@ -125,7 +127,9 @@
<div class="ref-description">
- <p>Print nafta objects.</p>
+ <p>Print nafta objects. The results for the three models
+ are printed in the order of increasing model complexity,
+ i.e. SFO, then IORE, and finally DFOP.</p>
</div>
diff --git a/docs/reference/summary.mkinfit.html b/docs/reference/summary.mkinfit.html
index ca0b1c4c..6ec72f80 100644
--- a/docs/reference/summary.mkinfit.html
+++ b/docs/reference/summary.mkinfit.html
@@ -208,15 +208,15 @@
<h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
<pre class="examples"><div class='input'> <span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='fu'><a href='mkinmod.html'>mkinmod</a></span>(<span class='kw'>parent</span> <span class='kw'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span>(<span class='st'>"SFO"</span>)), <span class='no'>FOCUS_2006_A</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>))</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:28:49 2019
-#&gt; Date of summary: Tue Feb 26 09:28:49 2019
+#&gt; Date of fit: Tue Feb 26 20:24:50 2019
+#&gt; Date of summary: Tue Feb 26 20:24:50 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent_sink * parent
#&gt;
#&gt; Model predictions using solution type analytical
#&gt;
-#&gt; Fitted with method Port using 35 model solutions performed in 0.085 s
+#&gt; Fitted with method Port using 35 model solutions performed in 0.084 s
#&gt;
#&gt; Weighting: none
#&gt;
diff --git a/docs/reference/transform_odeparms.html b/docs/reference/transform_odeparms.html
index bcfbe975..6e65f609 100644
--- a/docs/reference/transform_odeparms.html
+++ b/docs/reference/transform_odeparms.html
@@ -202,8 +202,8 @@ The transformation of sets of formation fractions is fragile, as it supposes
<span class='no'>fit</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='no'>SFO_SFO</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit</span>, <span class='kw'>data</span><span class='kw'>=</span><span class='fl'>FALSE</span>) <span class='co'># See transformed and backtransformed parameters</span></div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:28:57 2019
-#&gt; Date of summary: Tue Feb 26 09:28:57 2019
+#&gt; Date of fit: Tue Feb 26 20:24:58 2019
+#&gt; Date of summary: Tue Feb 26 20:24:58 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent_sink * parent - k_parent_m1 * parent
@@ -211,7 +211,7 @@ The transformation of sets of formation fractions is fragile, as it supposes
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 153 model solutions performed in 0.7 s
+#&gt; Fitted with method Port using 153 model solutions performed in 0.707 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -278,8 +278,8 @@ The transformation of sets of formation fractions is fragile, as it supposes
</div><div class='input'><span class='no'>fit.2</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='no'>SFO_SFO</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>transform_rates</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit.2</span>, <span class='kw'>data</span><span class='kw'>=</span><span class='fl'>FALSE</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:28:59 2019
-#&gt; Date of summary: Tue Feb 26 09:28:59 2019
+#&gt; Date of fit: Tue Feb 26 20:25:00 2019
+#&gt; Date of summary: Tue Feb 26 20:25:00 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent_sink * parent - k_parent_m1 * parent
@@ -287,7 +287,7 @@ The transformation of sets of formation fractions is fragile, as it supposes
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 350 model solutions performed in 1.59 s
+#&gt; Fitted with method Port using 350 model solutions performed in 1.584 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -366,8 +366,8 @@ The transformation of sets of formation fractions is fragile, as it supposes
<span class='no'>fit.ff</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='no'>SFO_SFO.ff</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit.ff</span>, <span class='kw'>data</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:29:00 2019
-#&gt; Date of summary: Tue Feb 26 09:29:00 2019
+#&gt; Date of fit: Tue Feb 26 20:25:01 2019
+#&gt; Date of summary: Tue Feb 26 20:25:01 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -375,7 +375,7 @@ The transformation of sets of formation fractions is fragile, as it supposes
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 186 model solutions performed in 0.844 s
+#&gt; Fitted with method Port using 186 model solutions performed in 0.867 s
#&gt;
#&gt; Weighting: none
#&gt;
@@ -450,8 +450,8 @@ The transformation of sets of formation fractions is fragile, as it supposes
<span class='no'>fit.ff.2</span> <span class='kw'>&lt;-</span> <span class='fu'><a href='mkinfit.html'>mkinfit</a></span>(<span class='no'>SFO_SFO.ff.2</span>, <span class='no'>FOCUS_2006_D</span>, <span class='kw'>quiet</span> <span class='kw'>=</span> <span class='fl'>TRUE</span>)
<span class='fu'><a href='https://www.rdocumentation.org/packages/base/topics/summary'>summary</a></span>(<span class='no'>fit.ff.2</span>, <span class='kw'>data</span> <span class='kw'>=</span> <span class='fl'>FALSE</span>)</div><div class='output co'>#&gt; mkin version used for fitting: 0.9.48.1
#&gt; R version used for fitting: 3.5.2
-#&gt; Date of fit: Tue Feb 26 09:29:01 2019
-#&gt; Date of summary: Tue Feb 26 09:29:01 2019
+#&gt; Date of fit: Tue Feb 26 20:25:02 2019
+#&gt; Date of summary: Tue Feb 26 20:25:02 2019
#&gt;
#&gt; Equations:
#&gt; d_parent/dt = - k_parent * parent
@@ -459,7 +459,7 @@ The transformation of sets of formation fractions is fragile, as it supposes
#&gt;
#&gt; Model predictions using solution type deSolve
#&gt;
-#&gt; Fitted with method Port using 104 model solutions performed in 0.467 s
+#&gt; Fitted with method Port using 104 model solutions performed in 0.472 s
#&gt;
#&gt; Weighting: none
#&gt;

Contact - Imprint