diff options
Diffstat (limited to 'docs/reference')
| -rw-r--r-- | docs/reference/Extract.mmkin.html | 12 | ||||
| -rw-r--r-- | docs/reference/NAFTA_SOP_2015-1.png | bin | 0 -> 41450 bytes | |||
| -rw-r--r-- | docs/reference/NAFTA_SOP_2015.html | 220 | ||||
| -rw-r--r-- | docs/reference/index.html | 33 | ||||
| -rw-r--r-- | docs/reference/mccall81_245T.html | 12 | ||||
| -rw-r--r-- | docs/reference/mkinfit.html | 44 | ||||
| -rw-r--r-- | docs/reference/mkinmod.html | 2 | ||||
| -rw-r--r-- | docs/reference/mkinpredict.html | 2 | ||||
| -rw-r--r-- | docs/reference/mmkin.html | 4 | ||||
| -rw-r--r-- | docs/reference/nafta.html | 4 | ||||
| -rw-r--r-- | docs/reference/summary.mkinfit.html | 6 | ||||
| -rw-r--r-- | docs/reference/transform_odeparms.html | 24 | 
12 files changed, 309 insertions, 54 deletions
| diff --git a/docs/reference/Extract.mmkin.html b/docs/reference/Extract.mmkin.html index f86ff43a..873d75bd 100644 --- a/docs/reference/Extract.mmkin.html +++ b/docs/reference/Extract.mmkin.html @@ -280,7 +280,7 @@  #>   #> $time  #>        User      System verstrichen  -#>       0.196       0.000       0.198  +#>       0.195       0.000       0.195   #>   #> $mkinmod  #> <mkinmod> model generated with @@ -469,8 +469,8 @@  #>     }  #>     return(mC)  #> } -#> <bytecode: 0x5555592a5fc0> -#> <environment: 0x55555ba81950> +#> <bytecode: 0x55555925ca08> +#> <environment: 0x55555b668200>  #>   #> $cost_notrans  #> function (P)  @@ -492,8 +492,8 @@  #>         scaleVar = scaleVar)  #>     return(mC)  #> } -#> <bytecode: 0x55555a5e0ee8> -#> <environment: 0x55555ba81950> +#> <bytecode: 0x55555a590818> +#> <environment: 0x55555b668200>  #>   #> $hessian_notrans  #>                   parent_0 k_parent_sink @@ -560,7 +560,7 @@  #> 99.17407   #>   #> $date -#> [1] "Mon Feb 25 15:23:07 2019" +#> [1] "Tue Feb 26 09:27:10 2019"  #>   #> $version  #> [1] "0.9.48.1" diff --git a/docs/reference/NAFTA_SOP_2015-1.png b/docs/reference/NAFTA_SOP_2015-1.pngBinary files differ new file mode 100644 index 00000000..c4f9f048 --- /dev/null +++ b/docs/reference/NAFTA_SOP_2015-1.png diff --git a/docs/reference/NAFTA_SOP_2015.html b/docs/reference/NAFTA_SOP_2015.html new file mode 100644 index 00000000..4a2c71a9 --- /dev/null +++ b/docs/reference/NAFTA_SOP_2015.html @@ -0,0 +1,220 @@ +<!-- 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 the NAFTA SOP published 2015 — NAFTA_SOP_2015 • 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 the NAFTA SOP published 2015 — NAFTA_SOP_2015" /> + +<meta property="og:description" content="Data taken from US EPA (2015), p. 19 and 23." /> +<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 the NAFTA SOP published 2015</h1> +     +    <div class="hidden name"><code>NAFTA_SOP_2015.Rd</code></div> +    </div> + +    <div class="ref-description"> +     +    <p>Data taken from US EPA (2015), p. 19 and 23.</p> +     +    </div> + +    <pre class="usage"><span class='no'>NAFTA_SOP_2015</span></pre> +         +    <h2 class="hasAnchor" id="format"><a class="anchor" href="#format"></a>Format</h2> + +    <p>2 datasets with observations on the following variables.</p><dl class='dl-horizontal'> +    <dt><code>name</code></dt><dd><p>a factor containing the name of the observed variable</p></dd> +    <dt><code>time</code></dt><dd><p>a numeric vector containing time points</p></dd> +    <dt><code>value</code></dt><dd><p>a numeric vector containing concentrations</p></dd> +  </dl> +     +    <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_evaluation</span> <span class='kw'><-</span> <span class='fu'><a href='nafta.html'>nafta</a></span>(<span class='no'>NAFTA_SOP_Appendix_D</span>)</div><div class='output co'>#> <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'>#> <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#> <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#> <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'>#> Sums of squares: +#>       SFO      IORE      DFOP  +#> 1378.6832  615.7730  517.8836  +#>  +#> Critical sum of squares for checking the SFO model: +#> [1] 717.4598 +#>  +#> Parameters: +#> $SFO +#>                   Estimate       Pr(>t)        Lower        Upper +#> parent_0      83.755751519 8.076390e-15 76.928220975 90.583282063 +#> k_parent_sink  0.001703321 7.452357e-05  0.001108568  0.002617164 +#>  +#> $IORE +#>                         Estimate Pr(>t)        Lower        Upper +#> parent_0            9.685291e+01     NA 8.752855e+01 1.061773e+02 +#> k__iore_parent_sink 8.403374e-14     NA 1.092054e-19 6.466412e-08 +#> N_parent            6.684458e+00     NA 3.538511e+00 9.830405e+00 +#>  +#> $DFOP +#>              Estimate       Pr(>t)        Lower        Upper +#> parent_0 9.755655e+01 4.439930e-13 8.884447e+01 1.062686e+02 +#> k1       4.240633e-02 3.554769e-02 1.414189e-02 1.271610e-01 +#> k2       8.237928e-04 2.060933e-02 3.172784e-04 2.138925e-03 +#> g        2.881037e-01 1.313715e-04 1.783967e-01 4.299694e-01 +#>  +#>  +#> DTx values: +#>      DT50    DT90 DT50_rep +#> SFO   407    1352      407 +#> IORE  541 5192066  1562968 +#> DFOP  429    2383      841 +#>  +#> Representative half-life: +#> [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> +  </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 24403ad6..a251dc33 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -274,6 +274,12 @@        </tr><tr>          <td> +          <p><code><a href="NAFTA_SOP_2015.html">NAFTA_SOP_2015</a></code> </p> +        </td> +        <td><p>Example datasets from the NAFTA SOP published 2015</p></td> +      </tr><tr> +         +        <td>            <p><code><a href="mccall81_245T.html">mccall81_245T</a></code> </p>          </td>          <td><p>Datasets on aerobic soil metabolism of 2,4,5-T in six soils</p></td> @@ -311,6 +317,32 @@      </tbody><tbody>        <tr>          <th colspan="2"> +          <h2 id="section-nafta-guidance" class="hasAnchor"><a href="#section-nafta-guidance" class="anchor"></a>NAFTA guidance</h2> +          <p class="section-desc"></p> +        </th> +      </tr> +      <tr> +         +        <td> +          <p><code><a href="nafta.html">nafta()</a></code> </p> +        </td> +        <td><p>Evaluate parent kinetics using the NAFTA guidance</p></td> +      </tr><tr> +         +        <td> +          <p><code><a href="print.nafta.html">print(<i><nafta></i>)</a></code> </p> +        </td> +        <td><p>Print nafta objects</p></td> +      </tr><tr> +         +        <td> +          <p><code><a href="plot.nafta.html">plot(<i><nafta></i>)</a></code> </p> +        </td> +        <td><p>Plot the results of the three models used in the NAFTA scheme</p></td> +      </tr> +    </tbody><tbody> +      <tr> +        <th colspan="2">            <h2 id="section-helper-functions" class="hasAnchor"><a href="#section-helper-functions" class="anchor"></a>Helper functions</h2>            <p class="section-desc"></p>          </th> @@ -471,6 +503,7 @@        <li><a href="#section-show-results">Show results</a></li>        <li><a href="#section-work-with-mmkin-objects">Work with mmkin objects</a></li>        <li><a href="#section-datasets-and-known-results">Datasets and known results</a></li> +      <li><a href="#section-nafta-guidance">NAFTA guidance</a></li>        <li><a href="#section-helper-functions">Helper functions</a></li>        <li><a href="#section-analytical-solutions">Analytical solutions</a></li>        <li><a href="#section-generate-synthetic-datasets">Generate synthetic datasets</a></li> diff --git a/docs/reference/mccall81_245T.html b/docs/reference/mccall81_245T.html index d4501489..1845a31c 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'>#> <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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:29 2019  -#> Date of summary: Mon Feb 25 15:23:29 2019  +#> Date of fit:     Tue Feb 26 09:27:31 2019  +#> Date of summary: Tue Feb 26 09:27:31 2019   #>   #> Equations:  #> d_T245/dt = - k_T245_sink * T245 - k_T245_phenol * T245 @@ -171,7 +171,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 574 model solutions performed in 3.852 s +#> Fitted with method Port using 574 model solutions performed in 3.812 s  #>   #> Weighting: none  #>  @@ -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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:31 2019  -#> Date of summary: Mon Feb 25 15:23:31 2019  +#> Date of fit:     Tue Feb 26 09:27:33 2019  +#> Date of summary: Tue Feb 26 09:27:33 2019   #>   #> Equations:  #> d_T245/dt = - k_T245_sink * T245 - k_T245_phenol * T245 @@ -260,7 +260,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 246 model solutions performed in 1.604 s +#> Fitted with method Port using 246 model solutions performed in 1.597 s  #>   #> Weighting: none  #>  diff --git a/docs/reference/mkinfit.html b/docs/reference/mkinfit.html index ffc87dfb..53f46988 100644 --- a/docs/reference/mkinfit.html +++ b/docs/reference/mkinfit.html @@ -438,8 +438,8 @@  <span class='no'>fit</span> <span class='kw'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:34 2019  -#> Date of summary: Mon Feb 25 15:23:34 2019  +#> Date of fit:     Tue Feb 26 09:27:36 2019  +#> Date of summary: Tue Feb 26 09:27:36 2019   #>   #> Equations:  #> d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent @@ -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'>#> <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'><-</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'>#>        User      System verstrichen  -#>       1.011       0.000       1.012 </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'>#>          parent_0 log_k_parent_sink   log_k_parent_m1     log_k_m1_sink  +#>       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'>#>          parent_0 log_k_parent_sink   log_k_parent_m1     log_k_m1_sink   #>          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'>#> $ff  #> parent_sink   parent_m1     m1_sink   #>    0.485524    0.514476    1.000000  @@ -590,7 +590,7 @@  #> Model cost at call  146 :  371.2134   #> Optimisation by method Port successfully terminated.  #>        User      System verstrichen  -#>       0.826       0.000       0.827 </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'>#>          parent_0 log_k_parent_sink   log_k_parent_m1     log_k_m1_sink  +#>       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'>#>          parent_0 log_k_parent_sink   log_k_parent_m1     log_k_m1_sink   #>          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'>#> $ff  #> parent_sink   parent_m1     m1_sink   #>    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'>#> <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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:46 2019  -#> Date of summary: Mon Feb 25 15:23:46 2019  +#> Date of fit:     Tue Feb 26 09:27:48 2019  +#> Date of summary: Tue Feb 26 09:27:48 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -637,7 +637,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 186 model solutions performed in 0.849 s +#> Fitted with method Port using 186 model solutions performed in 0.845 s  #>   #> Weighting: none  #>  @@ -745,8 +745,8 @@  #>   120       m1    33.31  28.78984  4.520e+00</div><div class='input'><span class='no'>f.irls</span> <span class='kw'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:48 2019  -#> Date of summary: Mon Feb 25 15:23:48 2019  +#> Date of fit:     Tue Feb 26 09:27:50 2019  +#> Date of summary: Tue Feb 26 09:27:50 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -754,7 +754,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 551 model solutions performed in 2.529 s +#> Fitted with method Port using 551 model solutions performed in 2.523 s  #>   #> Weighting: none  #>  @@ -867,8 +867,8 @@  #>   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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:49 2019  -#> Date of summary: Mon Feb 25 15:23:49 2019  +#> Date of fit:     Tue Feb 26 09:27:51 2019  +#> Date of summary: Tue Feb 26 09:27:51 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -876,7 +876,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 155 model solutions performed in 0.707 s +#> Fitted with method Port using 155 model solutions performed in 0.705 s  #>   #> Weighting: mean  #>  @@ -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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:50 2019  -#> Date of summary: Mon Feb 25 15:23:50 2019  +#> Date of fit:     Tue Feb 26 09:27:52 2019  +#> Date of summary: Tue Feb 26 09:27:52 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -994,7 +994,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 174 model solutions performed in 0.803 s +#> Fitted with method Port using 174 model solutions performed in 0.8 s  #>   #> Weighting: manual  #>  @@ -1105,8 +1105,8 @@  <span class='no'>f.w.man</span> <span class='kw'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:52 2019  -#> Date of summary: Mon Feb 25 15:23:52 2019  +#> Date of fit:     Tue Feb 26 09:27:54 2019  +#> Date of summary: Tue Feb 26 09:27:54 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -1114,7 +1114,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 270 model solutions performed in 1.242 s +#> Fitted with method Port using 270 model solutions performed in 1.238 s  #>   #> Weighting: manual  #>  @@ -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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:23:55 2019  -#> Date of summary: Mon Feb 25 15:23:55 2019  +#> Date of fit:     Tue Feb 26 09:27:57 2019  +#> Date of summary: Tue Feb 26 09:27:57 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -1232,7 +1232,7 @@  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 692 model solutions performed in 3.263 s +#> Fitted with method Port using 692 model solutions performed in 3.246 s  #>   #> Weighting: manual  #>  diff --git a/docs/reference/mkinmod.html b/docs/reference/mkinmod.html index 48693b0c..bcf39e7f 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'><-</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'>#> Compilation argument: -#>  /usr/lib/R/bin/R CMD SHLIB file6703f4535ea.c 2> file6703f4535ea.c.err.txt  +#>  /usr/lib/R/bin/R CMD SHLIB file4a116f6acbf1.c 2> file4a116f6acbf1.c.err.txt   #> Program source:  #>   1: #include <R.h>  #>   2:  diff --git a/docs/reference/mkinpredict.html b/docs/reference/mkinpredict.html index 5d786bac..a38de769 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'>#>     time   parent       m1  #> 201   20 4.978707 27.46227</div><div class='output co'>#>        User      System verstrichen  -#>       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>( +#>       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>(      <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'>#>     time   parent       m1 diff --git a/docs/reference/mmkin.html b/docs/reference/mmkin.html index 29684bad..6613f35c 100644 --- a/docs/reference/mmkin.html +++ b/docs/reference/mmkin.html @@ -191,8 +191,8 @@  <span class='no'>time_1</span> <span class='kw'><-</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'><-</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'>#>        User      System verstrichen  -#>       0.040       0.038       7.255 </div><div class='input'><span class='no'>time_1</span></div><div class='output co'>#>        User      System verstrichen  -#>      22.747       0.000      22.761 </div><div class='input'> +#>       0.052       0.024       7.037 </div><div class='input'><span class='no'>time_1</span></div><div class='output co'>#>        User      System verstrichen  +#>      22.463       0.000      22.476 </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'>#> $ff  #>   parent_M1 parent_sink       M1_M2     M1_sink   #>   0.7340480   0.2659520   0.7505686   0.2494314  diff --git a/docs/reference/nafta.html b/docs/reference/nafta.html index 071ea132..b1d45272 100644 --- a/docs/reference/nafta.html +++ b/docs/reference/nafta.html @@ -175,9 +175,11 @@      <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'><-</span> <span class='fu'>nafta</span>(<span class='no'>MRID_555555</span>)</div><div class='output co'>#> <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'>#> <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#> <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#> <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'>#> Sums of squares: +    <pre class="examples"><div class='input'>  <span class='no'>nafta_evaluation</span> <span class='kw'><-</span> <span class='fu'>nafta</span>(<span class='no'>NAFTA_SOP_Appendix_D</span>)</div><div class='output co'>#> <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'>#> <span class='message'>The representative half-life of the IORE model is longer than the one corresponding</span></div><div class='output co'>#> <span class='message'>to the terminal degradation rate found with the DFOP model.</span></div><div class='output co'>#> <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'>#> Sums of squares:  #>       SFO      IORE      DFOP   #> 1378.6832  615.7730  517.8836  +#>  +#> Critical sum of squares for checking the SFO model:  #> [1] 717.4598  #>   #> Parameters: diff --git a/docs/reference/summary.mkinfit.html b/docs/reference/summary.mkinfit.html index 9afaf13a..ca0b1c4c 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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:24:48 2019  -#> Date of summary: Mon Feb 25 15:24:48 2019  +#> Date of fit:     Tue Feb 26 09:28:49 2019  +#> Date of summary: Tue Feb 26 09:28:49 2019   #>   #> Equations:  #> d_parent/dt = - k_parent_sink * parent  #>   #> Model predictions using solution type analytical   #>  -#> Fitted with method Port using 35 model solutions performed in 0.086 s +#> Fitted with method Port using 35 model solutions performed in 0.085 s  #>   #> Weighting: none  #>  diff --git a/docs/reference/transform_odeparms.html b/docs/reference/transform_odeparms.html index 6861f712..bcfbe975 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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:24:56 2019  -#> Date of summary: Mon Feb 25 15:24:56 2019  +#> Date of fit:     Tue Feb 26 09:28:57 2019  +#> Date of summary: Tue Feb 26 09:28:57 2019   #>   #> Equations:  #> 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  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 153 model solutions performed in 0.737 s +#> Fitted with method Port using 153 model solutions performed in 0.7 s  #>   #> Weighting: none  #>  @@ -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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:24:58 2019  -#> Date of summary: Mon Feb 25 15:24:58 2019  +#> Date of fit:     Tue Feb 26 09:28:59 2019  +#> Date of summary: Tue Feb 26 09:28:59 2019   #>   #> Equations:  #> 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  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 350 model solutions performed in 1.593 s +#> Fitted with method Port using 350 model solutions performed in 1.59 s  #>   #> Weighting: none  #>  @@ -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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:24:59 2019  -#> Date of summary: Mon Feb 25 15:24:59 2019  +#> Date of fit:     Tue Feb 26 09:29:00 2019  +#> Date of summary: Tue Feb 26 09:29:00 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -375,7 +375,7 @@ The transformation of sets of formation fractions is fragile, as it supposes  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 186 model solutions performed in 0.858 s +#> Fitted with method Port using 186 model solutions performed in 0.844 s  #>   #> Weighting: none  #>  @@ -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'><-</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'>#> mkin version used for fitting:    0.9.48.1   #> R version used for fitting:       3.5.2  -#> Date of fit:     Mon Feb 25 15:25:00 2019  -#> Date of summary: Mon Feb 25 15:25:00 2019  +#> Date of fit:     Tue Feb 26 09:29:01 2019  +#> Date of summary: Tue Feb 26 09:29:01 2019   #>   #> Equations:  #> d_parent/dt = - k_parent * parent @@ -459,7 +459,7 @@ The transformation of sets of formation fractions is fragile, as it supposes  #>   #> Model predictions using solution type deSolve   #>  -#> Fitted with method Port using 104 model solutions performed in 0.473 s +#> Fitted with method Port using 104 model solutions performed in 0.467 s  #>   #> Weighting: none  #>  | 
