aboutsummaryrefslogblamecommitdiff
path: root/docs/dev/reference/summary.saem.mmkin.html
blob: 75ede09f8a4e10b8c60308eb8a76696a360df684 (plain) (tree)





























































































































































                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                              






























































                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                                                                                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                               

                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                               









                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    


                                                                   







                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
 
                                                                                                                                                                                                                                                                                                                                                              






                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                              
                                    

                               
                                                                                                                                                                                                                                                                                                    


                                                                                  

                                                

                





                                                                            

           
                                                             


                                                       
                                                  



                                                        



                                                                                      






                                                

                                 

                                                                            






                                                         

                   





                                                        

                     






                                                        


                                          

                                          

                                                                      











                                                          

                                    


                                                  

           











































































































































































                                                                                                                      





























                                                                                
<!-- 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>Summary method for class "saem.mmkin" — summary.saem.mmkin • mkin</title>


<!-- jquery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<!-- Bootstrap -->

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha256-bZLfwXAP04zRMK2BjiO8iu9pf4FbLqX6zitd+tIvLhE=" crossorigin="anonymous" />

<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha256-nuL8/2cJ5NDSSwnKD8VqreErSWHtnEP9E7AySL+1ev4=" crossorigin="anonymous"></script>

<!-- bootstrap-toc -->
<link rel="stylesheet" href="../bootstrap-toc.css">
<script src="../bootstrap-toc.js"></script>

<!-- Font Awesome icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous" />

<!-- clipboard.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script>

<!-- headroom.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script>

<!-- pkgdown -->
<link href="../pkgdown.css" rel="stylesheet">
<script src="../pkgdown.js"></script>




<meta property="og:title" content="Summary method for class "saem.mmkin" — summary.saem.mmkin" />
<meta property="og:description" content="Lists model equations, initial parameter values, optimised parameters
for fixed effects (population), random effects (deviations from the
population mean) and residual error model, as well as the resulting
endpoints such as formation fractions and DT50 values. Optionally
(default is FALSE), the data are listed in full." />


<meta name="robots" content="noindex">

<!-- 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 data-spy="scroll" data-target="#toc">
    <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-info" data-toggle="tooltip" data-placement="bottom" title="In-development version">0.9.50.4</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>
    <li>
      <a href="../articles/web_only/NAFTA_examples.html">Example evaluation of NAFTA SOP Attachment examples</a>
    </li>
    <li>
      <a href="../articles/web_only/benchmarks.html">Some benchmark timings</a>
    </li>
  </ul>
</li>
<li>
  <a href="../news/index.html">News</a>
</li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li>
  <a href="https://github.com/jranke/mkin/">
    <span class="fab fa fab fa-github fa-lg"></span>
     
  </a>
</li>
      </ul>
      
    </div><!--/.nav-collapse -->
  </div><!--/.container -->
</div><!--/.navbar -->

      

      </header>

<div class="row">
  <div class="col-md-9 contents">
    <div class="page-header">
    <h1>Summary method for class "saem.mmkin"</h1>
    <small class="dont-index">Source: <a href='https://github.com/jranke/mkin/blob/master/R/summary.saem.mmkin.R'><code>R/summary.saem.mmkin.R</code></a></small>
    <div class="hidden name"><code>summary.saem.mmkin.Rd</code></div>
    </div>

    <div class="ref-description">
    <p>Lists model equations, initial parameter values, optimised parameters
for fixed effects (population), random effects (deviations from the
population mean) and residual error model, as well as the resulting
endpoints such as formation fractions and DT50 values. Optionally
(default is FALSE), the data are listed in full.</p>
    </div>

    <pre class="usage"><span class='co'># S3 method for saem.mmkin</span>
<span class='fu'><a href='https://rdrr.io/r/base/summary.html'>summary</a></span><span class='op'>(</span><span class='va'>object</span>, data <span class='op'>=</span> <span class='cn'>FALSE</span>, verbose <span class='op'>=</span> <span class='cn'>FALSE</span>, distimes <span class='op'>=</span> <span class='cn'>TRUE</span>, <span class='va'>...</span><span class='op'>)</span>

<span class='co'># S3 method for summary.saem.mmkin</span>
<span class='fu'><a href='https://rdrr.io/r/base/print.html'>print</a></span><span class='op'>(</span><span class='va'>x</span>, digits <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/Extremes.html'>max</a></span><span class='op'>(</span><span class='fl'>3</span>, <span class='fu'><a href='https://rdrr.io/r/base/options.html'>getOption</a></span><span class='op'>(</span><span class='st'>"digits"</span><span class='op'>)</span> <span class='op'>-</span> <span class='fl'>3</span><span class='op'>)</span>, verbose <span class='op'>=</span> <span class='va'>x</span><span class='op'>$</span><span class='va'>verbose</span>, <span class='va'>...</span><span class='op'>)</span></pre>

    <h2 class="hasAnchor" id="arguments"><a class="anchor" href="#arguments"></a>Arguments</h2>
    <table class="ref-arguments">
    <colgroup><col class="name" /><col class="desc" /></colgroup>
    <tr>
      <th>object</th>
      <td><p>an object of class <a href='saem.html'>saem.mmkin</a></p></td>
    </tr>
    <tr>
      <th>data</th>
      <td><p>logical, indicating whether the full data should be included in
the summary.</p></td>
    </tr>
    <tr>
      <th>verbose</th>
      <td><p>Should the summary be verbose?</p></td>
    </tr>
    <tr>
      <th>distimes</th>
      <td><p>logical, indicating whether DT50 and DT90 values should be
included.</p></td>
    </tr>
    <tr>
      <th>...</th>
      <td><p>optional arguments passed to methods like <code>print</code>.</p></td>
    </tr>
    <tr>
      <th>x</th>
      <td><p>an object of class summary.saem.mmkin</p></td>
    </tr>
    <tr>
      <th>digits</th>
      <td><p>Number of digits to use for printing</p></td>
    </tr>
    </table>

    <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>

    <p>The summary function returns a list based on the <a href='https://rdrr.io/pkg/saemix/man/SaemixObject-class.html'>saemix::SaemixObject</a>
obtained in the fit, with at least the following additional components</p>
<dt>saemixversion, mkinversion, Rversion</dt><dd><p>The saemix, mkin and R versions used</p></dd>
<dt>date.fit, date.summary</dt><dd><p>The dates where the fit and the summary were
produced</p></dd>
<dt>diffs</dt><dd><p>The differential equations used in the degradation model</p></dd>
<dt>use_of_ff</dt><dd><p>Was maximum or minimum use made of formation fractions</p></dd>
<dt>data</dt><dd><p>The data</p></dd>
<dt>confint_trans</dt><dd><p>Transformed parameters as used in the optimisation, with confidence intervals</p></dd>
<dt>confint_back</dt><dd><p>Backtransformed parameters, with confidence intervals if available</p></dd>
<dt>ff</dt><dd><p>The estimated formation fractions derived from the fitted
model.</p></dd>
<dt>distimes</dt><dd><p>The DT50 and DT90 values for each observed variable.</p></dd>
<dt>SFORB</dt><dd><p>If applicable, eigenvalues of SFORB components of the model.</p></dd>
The print method is called for its side effect, i.e. printing the summary.

    <h2 class="hasAnchor" id="author"><a class="anchor" href="#author"></a>Author</h2>

    <p>Johannes Ranke for the mkin specific parts
saemix authors for the parts inherited from saemix.</p>

    <h2 class="hasAnchor" id="examples"><a class="anchor" href="#examples"></a>Examples</h2>
    <pre class="examples"><div class='input'><span class='co'># Generate five datasets following DFOP-SFO kinetics</span>
<span class='va'>sampling_times</span> <span class='op'>=</span> <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span><span class='fl'>0</span>, <span class='fl'>1</span>, <span class='fl'>3</span>, <span class='fl'>7</span>, <span class='fl'>14</span>, <span class='fl'>28</span>, <span class='fl'>60</span>, <span class='fl'>90</span>, <span class='fl'>120</span><span class='op'>)</span>
<span class='va'>dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mkinmod.html'>mkinmod</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span><span class='op'>(</span><span class='st'>"DFOP"</span>, <span class='st'>"m1"</span><span class='op'>)</span>,
 m1 <span class='op'>=</span> <span class='fu'><a href='mkinsub.html'>mkinsub</a></span><span class='op'>(</span><span class='st'>"SFO"</span><span class='op'>)</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
<span class='fu'><a href='https://rdrr.io/r/base/Random.html'>set.seed</a></span><span class='op'>(</span><span class='fl'>1234</span><span class='op'>)</span>
<span class='va'>k1_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>0.1</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span>
<span class='va'>k2_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>0.02</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span>
<span class='va'>g_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>plogis</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/stats/Normal.html'>rnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>qlogis</a></span><span class='op'>(</span><span class='fl'>0.5</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span><span class='op'>)</span>
<span class='va'>f_parent_to_m1_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>plogis</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/stats/Normal.html'>rnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/stats/Logistic.html'>qlogis</a></span><span class='op'>(</span><span class='fl'>0.3</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span><span class='op'>)</span>
<span class='va'>k_m1_in</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/stats/Lognormal.html'>rlnorm</a></span><span class='op'>(</span><span class='fl'>5</span>, <span class='fu'><a href='https://rdrr.io/r/base/Log.html'>log</a></span><span class='op'>(</span><span class='fl'>0.02</span><span class='op'>)</span>, <span class='fl'>0.3</span><span class='op'>)</span>

<span class='va'>pred_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='kw'>function</span><span class='op'>(</span><span class='va'>k1</span>, <span class='va'>k2</span>, <span class='va'>g</span>, <span class='va'>f_parent_to_m1</span>, <span class='va'>k_m1</span><span class='op'>)</span> <span class='op'>{</span>
  <span class='fu'><a href='mkinpredict.html'>mkinpredict</a></span><span class='op'>(</span><span class='va'>dfop_sfo</span>,
    <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>k1 <span class='op'>=</span> <span class='va'>k1</span>, k2 <span class='op'>=</span> <span class='va'>k2</span>, g <span class='op'>=</span> <span class='va'>g</span>, f_parent_to_m1 <span class='op'>=</span> <span class='va'>f_parent_to_m1</span>, k_m1 <span class='op'>=</span> <span class='va'>k_m1</span><span class='op'>)</span>,
    <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fl'>100</span>, m1 <span class='op'>=</span> <span class='fl'>0</span><span class='op'>)</span>,
    <span class='va'>sampling_times</span><span class='op'>)</span>
<span class='op'>}</span>

<span class='va'>ds_mean_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/lapply.html'>lapply</a></span><span class='op'>(</span><span class='fl'>1</span><span class='op'>:</span><span class='fl'>5</span>, <span class='kw'>function</span><span class='op'>(</span><span class='va'>i</span><span class='op'>)</span> <span class='op'>{</span>
  <span class='fu'><a href='mkinpredict.html'>mkinpredict</a></span><span class='op'>(</span><span class='va'>dfop_sfo</span>,
    <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>k1 <span class='op'>=</span> <span class='va'>k1_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>, k2 <span class='op'>=</span> <span class='va'>k2_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>, g <span class='op'>=</span> <span class='va'>g_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>,
      f_parent_to_m1 <span class='op'>=</span> <span class='va'>f_parent_to_m1_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span>, k_m1 <span class='op'>=</span> <span class='va'>k_m1_in</span><span class='op'>[</span><span class='va'>i</span><span class='op'>]</span><span class='op'>)</span>,
    <span class='fu'><a href='https://rdrr.io/r/base/c.html'>c</a></span><span class='op'>(</span>parent <span class='op'>=</span> <span class='fl'>100</span>, m1 <span class='op'>=</span> <span class='fl'>0</span><span class='op'>)</span>,
    <span class='va'>sampling_times</span><span class='op'>)</span>
<span class='op'>}</span><span class='op'>)</span>
<span class='fu'><a href='https://rdrr.io/r/base/names.html'>names</a></span><span class='op'>(</span><span class='va'>ds_mean_dfop_sfo</span><span class='op'>)</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/paste.html'>paste</a></span><span class='op'>(</span><span class='st'>"ds"</span>, <span class='fl'>1</span><span class='op'>:</span><span class='fl'>5</span><span class='op'>)</span>

<span class='va'>ds_syn_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='https://rdrr.io/r/base/lapply.html'>lapply</a></span><span class='op'>(</span><span class='va'>ds_mean_dfop_sfo</span>, <span class='kw'>function</span><span class='op'>(</span><span class='va'>ds</span><span class='op'>)</span> <span class='op'>{</span>
  <span class='fu'><a href='add_err.html'>add_err</a></span><span class='op'>(</span><span class='va'>ds</span>,
    sdfunc <span class='op'>=</span> <span class='kw'>function</span><span class='op'>(</span><span class='va'>value</span><span class='op'>)</span> <span class='fu'><a href='https://rdrr.io/r/base/MathFun.html'>sqrt</a></span><span class='op'>(</span><span class='fl'>1</span><span class='op'>^</span><span class='fl'>2</span> <span class='op'>+</span> <span class='va'>value</span><span class='op'>^</span><span class='fl'>2</span> <span class='op'>*</span> <span class='fl'>0.07</span><span class='op'>^</span><span class='fl'>2</span><span class='op'>)</span>,
    n <span class='op'>=</span> <span class='fl'>1</span><span class='op'>)</span><span class='op'>[[</span><span class='fl'>1</span><span class='op'>]</span><span class='op'>]</span>
<span class='op'>}</span><span class='op'>)</span>

<span class='co'># \dontrun{</span>
<span class='co'># Evaluate using mmkin and saem</span>
<span class='va'>f_mmkin_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='mmkin.html'>mmkin</a></span><span class='op'>(</span><span class='fu'><a href='https://rdrr.io/r/base/list.html'>list</a></span><span class='op'>(</span><span class='va'>dfop_sfo</span><span class='op'>)</span>, <span class='va'>ds_syn_dfop_sfo</span>, quiet <span class='op'>=</span> <span class='cn'>TRUE</span>, error_model <span class='op'>=</span> <span class='st'>"tc"</span>, cores <span class='op'>=</span> <span class='fl'>5</span><span class='op'>)</span>
<span class='va'>f_saem_dfop_sfo</span> <span class='op'>&lt;-</span> <span class='fu'><a href='saem.html'>saem</a></span><span class='op'>(</span><span class='va'>f_mmkin_dfop_sfo</span><span class='op'>)</span>
</div><div class='output co'>#&gt; Running main SAEM algorithm
#&gt; [1] "Mon Nov  9 09:11:04 2020"
#&gt; ....
#&gt;     Minimisation finished
#&gt; [1] "Mon Nov  9 09:11:16 2020"</div><div class='input'><span class='fu'><a href='https://rdrr.io/r/base/summary.html'>summary</a></span><span class='op'>(</span><span class='va'>f_saem_dfop_sfo</span>, data <span class='op'>=</span> <span class='cn'>TRUE</span><span class='op'>)</span>
</div><div class='output co'>#&gt; saemix version used for fitting:      3.1.9000 
#&gt; mkin version used for pre-fitting:  0.9.50.4 
#&gt; R version used for fitting:         4.0.3 
#&gt; Date of fit:     Mon Nov  9 09:11:17 2020 
#&gt; Date of summary: Mon Nov  9 09:11:17 2020 
#&gt; 
#&gt; Equations:
#&gt; d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
#&gt;            time)) / (g * exp(-k1 * time) + (1 - g) * exp(-k2 * time)))
#&gt;            * parent
#&gt; d_m1/dt = + f_parent_to_m1 * ((k1 * g * exp(-k1 * time) + k2 * (1 - g)
#&gt;            * exp(-k2 * time)) / (g * exp(-k1 * time) + (1 - g) *
#&gt;            exp(-k2 * time))) * parent - k_m1 * m1
#&gt; 
#&gt; Data:
#&gt; 171 observations of 2 variable(s) grouped in 5 datasets
#&gt; 
#&gt; Model predictions using solution type analytical 
#&gt; 
#&gt; Fitted in 13.497 s using 300, 100 iterations
#&gt; 
#&gt; Variance model: Two-component variance function 
#&gt; 
#&gt; Mean of starting values for individual parameters:
#&gt;        parent_0        log_k_m1 f_parent_qlogis          log_k1          log_k2 
#&gt;    101.65644697     -4.05368181     -0.94310703     -2.35943247     -4.07006293 
#&gt;        g_qlogis 
#&gt;     -0.01132621 
#&gt; 
#&gt; Fixed degradation parameter values:
#&gt; None
#&gt; 
#&gt; Results:
#&gt; 
#&gt; Likelihood computed by importance sampling
#&gt;        AIC     BIC   logLik
#&gt;   828.8639 823.396 -400.432
#&gt; 
#&gt; Optimised, transformed parameters with symmetric confidence intervals:
#&gt;                         est.      lower       upper
#&gt; parent_0        101.35835807 97.8846505 104.8320657
#&gt; log_k_m1         -4.06644838 -4.1861445  -3.9467523
#&gt; f_parent_qlogis  -0.94818070 -1.3124706  -0.5838908
#&gt; log_k1           -2.92096208 -3.7684319  -2.0734922
#&gt; log_k2           -3.54529352 -4.2532018  -2.8373852
#&gt; g_qlogis         -0.09254475 -0.9675848   0.7824953
#&gt; 
#&gt; Correlation: 
#&gt;                 prnt_0 lg_k_1 f_prn_ log_k1 log_k2
#&gt; log_k_m1        -0.217                            
#&gt; f_parent_qlogis -0.153  0.203                     
#&gt; log_k1           0.066 -0.067 -0.035              
#&gt; log_k2           0.002  0.010  0.001 -0.041       
#&gt; g_qlogis        -0.014  0.005  0.015 -0.163 -0.106
#&gt; 
#&gt; Random effects:
#&gt;                          est.      lower     upper
#&gt; SD.parent_0        2.70034095 -0.7003441 6.1010260
#&gt; SD.log_k_m1        0.08269959 -0.0456860 0.2110852
#&gt; SD.f_parent_qlogis 0.39452161  0.1376650 0.6513782
#&gt; SD.log_k1          0.90605744  0.2946394 1.5174755
#&gt; SD.log_k2          0.77604374  0.2646031 1.2874844
#&gt; SD.g_qlogis        0.37531563 -0.6836568 1.4342881
#&gt; 
#&gt; Variance model:
#&gt;           est.      lower      upper
#&gt; a.1 0.65736042 0.48750246 0.82721839
#&gt; b.1 0.06424086 0.05011127 0.07837046
#&gt; 
#&gt; Backtransformed parameters with asymmetric confidence intervals:
#&gt;                        est.       lower        upper
#&gt; parent_0       101.35835807 97.88465048 104.83206565
#&gt; k_m1             0.01713815  0.01520479   0.01931734
#&gt; f_parent_to_m1   0.27925085  0.21207372   0.35803781
#&gt; k1               0.05388182  0.02308824   0.12574588
#&gt; k2               0.02886015  0.01421864   0.05857864
#&gt; g                0.47688031  0.27536216   0.68621766
#&gt; 
#&gt; Resulting formation fractions:
#&gt;                 ff
#&gt; parent_m1   0.2793
#&gt; parent_sink 0.7207
#&gt; 
#&gt; Estimated disappearance times:
#&gt;         DT50   DT90 DT50back DT50_k1 DT50_k2
#&gt; parent 17.57  63.28    19.05   12.86   24.02
#&gt; m1     40.44 134.35       NA      NA      NA
#&gt; 
#&gt; Data:
#&gt;    ds   name time observed  predicted  residual standardized
#&gt;  ds 1 parent    0     89.8  9.848e+01  -8.68339     1.243323
#&gt;  ds 1 parent    0    104.1  9.848e+01   5.61661    -0.804209
#&gt;  ds 1 parent    1     88.7  9.403e+01  -5.32943     0.795687
#&gt;  ds 1 parent    1     95.5  9.403e+01   1.47057    -0.219557
#&gt;  ds 1 parent    3     81.8  8.584e+01  -4.04129     0.654791
#&gt;  ds 1 parent    3     94.5  8.584e+01   8.65871    -1.402929
#&gt;  ds 1 parent    7     71.5  7.196e+01  -0.46034     0.087182
#&gt;  ds 1 parent    7     70.3  7.196e+01  -1.66034     0.314448
#&gt;  ds 1 parent   14     54.2  5.384e+01   0.36125    -0.087766
#&gt;  ds 1 parent   14     49.6  5.384e+01  -4.23875     1.029821
#&gt;  ds 1 parent   28     31.5  3.220e+01  -0.69922     0.256514
#&gt;  ds 1 parent   28     28.8  3.220e+01  -3.39922     1.247025
#&gt;  ds 1 parent   60     12.1  1.264e+01  -0.53539     0.364441
#&gt;  ds 1 parent   60     13.6  1.264e+01   0.96461    -0.656614
#&gt;  ds 1 parent   90      6.2  6.081e+00   0.11929    -0.113824
#&gt;  ds 1 parent   90      8.3  6.081e+00   2.21929    -2.117659
#&gt;  ds 1 parent  120      2.2  3.055e+00  -0.85531     1.001955
#&gt;  ds 1 parent  120      2.4  3.055e+00  -0.65531     0.767664
#&gt;  ds 1     m1    1      0.3  1.115e+00  -0.81540     1.118502
#&gt;  ds 1     m1    1      0.2  1.115e+00  -0.91540     1.255673
#&gt;  ds 1     m1    3      2.2  3.111e+00  -0.91095     1.062691
#&gt;  ds 1     m1    3      3.0  3.111e+00  -0.11095     0.129432
#&gt;  ds 1     m1    7      6.5  6.292e+00   0.20799    -0.195930
#&gt;  ds 1     m1    7      5.0  6.292e+00  -1.29201     1.217079
#&gt;  ds 1     m1   14     10.2  9.886e+00   0.31362    -0.242650
#&gt;  ds 1     m1   14      9.5  9.886e+00  -0.38638     0.298948
#&gt;  ds 1     m1   28     12.2  1.259e+01  -0.39388     0.268603
#&gt;  ds 1     m1   28     13.4  1.259e+01   0.80612    -0.549726
#&gt;  ds 1     m1   60     11.8  1.092e+01   0.87659    -0.644982
#&gt;  ds 1     m1   60     13.2  1.092e+01   2.27659    -1.675083
#&gt;  ds 1     m1   90      6.6  7.814e+00  -1.21445     1.047509
#&gt;  ds 1     m1   90      9.3  7.814e+00   1.48555    -1.281347
#&gt;  ds 1     m1  120      3.5  5.275e+00  -1.77526     1.781944
#&gt;  ds 1     m1  120      5.4  5.275e+00   0.12474    -0.125213
#&gt;  ds 2 parent    0    118.0  1.045e+02  13.54366    -1.838241
#&gt;  ds 2 parent    0     99.8  1.045e+02  -4.65634     0.631992
#&gt;  ds 2 parent    1     90.2  9.872e+01  -8.51733     1.216927
#&gt;  ds 2 parent    1     94.6  9.872e+01  -4.11733     0.588270
#&gt;  ds 2 parent    3     96.1  8.872e+01   7.38009    -1.160975
#&gt;  ds 2 parent    3     78.4  8.872e+01 -10.31991     1.623443
#&gt;  ds 2 parent    7     77.9  7.337e+01   4.52584    -0.842647
#&gt;  ds 2 parent    7     77.7  7.337e+01   4.32584    -0.805409
#&gt;  ds 2 parent   14     56.0  5.616e+01  -0.15795     0.037034
#&gt;  ds 2 parent   14     54.7  5.616e+01  -1.45795     0.341841
#&gt;  ds 2 parent   28     36.6  3.859e+01  -1.99435     0.635813
#&gt;  ds 2 parent   28     36.8  3.859e+01  -1.79435     0.572052
#&gt;  ds 2 parent   60     22.1  2.113e+01   0.97273    -0.482843
#&gt;  ds 2 parent   60     24.7  2.113e+01   3.57273    -1.773425
#&gt;  ds 2 parent   90     12.4  1.258e+01  -0.17909     0.122205
#&gt;  ds 2 parent   90     10.8  1.258e+01  -1.77909     1.214019
#&gt;  ds 2 parent  120      6.8  7.509e+00  -0.70864     0.621767
#&gt;  ds 2 parent  120      7.9  7.509e+00   0.39136    -0.343380
#&gt;  ds 2     m1    1      1.3  1.466e+00  -0.16566     0.220431
#&gt;  ds 2     m1    3      3.7  3.947e+00  -0.24719     0.271357
#&gt;  ds 2     m1    3      4.7  3.947e+00   0.75281    -0.826421
#&gt;  ds 2     m1    7      8.1  7.501e+00   0.59910    -0.525881
#&gt;  ds 2     m1    7      7.9  7.501e+00   0.39910    -0.350323
#&gt;  ds 2     m1   14     10.1  1.082e+01  -0.71564     0.529253
#&gt;  ds 2     m1   14     10.3  1.082e+01  -0.51564     0.381342
#&gt;  ds 2     m1   28     10.7  1.248e+01  -1.78322     1.221977
#&gt;  ds 2     m1   28     12.2  1.248e+01  -0.28322     0.194082
#&gt;  ds 2     m1   60     10.7  1.058e+01   0.12295    -0.091967
#&gt;  ds 2     m1   60     12.5  1.058e+01   1.92295    -1.438427
#&gt;  ds 2     m1   90      9.1  8.029e+00   1.07074    -0.912688
#&gt;  ds 2     m1   90      7.4  8.029e+00  -0.62926     0.536381
#&gt;  ds 2     m1  120      6.1  5.816e+00   0.28391    -0.275375
#&gt;  ds 2     m1  120      4.5  5.816e+00  -1.31609     1.276529
#&gt;  ds 3 parent    0    106.2  1.048e+02   1.43237    -0.193885
#&gt;  ds 3 parent    0    106.9  1.048e+02   2.13237    -0.288636
#&gt;  ds 3 parent    1    107.4  9.616e+01  11.23530    -1.643774
#&gt;  ds 3 parent    1     96.1  9.616e+01  -0.06470     0.009466
#&gt;  ds 3 parent    3     79.4  8.238e+01  -2.97800     0.500554
#&gt;  ds 3 parent    3     82.6  8.238e+01   0.22200    -0.037315
#&gt;  ds 3 parent    7     63.9  6.427e+01  -0.36601     0.076477
#&gt;  ds 3 parent    7     62.4  6.427e+01  -1.86601     0.389900
#&gt;  ds 3 parent   14     51.0  4.825e+01   2.74941    -0.731807
#&gt;  ds 3 parent   14     47.1  4.825e+01  -1.15059     0.306250
#&gt;  ds 3 parent   28     36.1  3.501e+01   1.09474    -0.376700
#&gt;  ds 3 parent   28     36.6  3.501e+01   1.59474    -0.548750
#&gt;  ds 3 parent   60     20.1  2.050e+01  -0.40214     0.203675
#&gt;  ds 3 parent   60     19.8  2.050e+01  -0.70214     0.355617
#&gt;  ds 3 parent   90     11.3  1.257e+01  -1.27210     0.868328
#&gt;  ds 3 parent   90     10.7  1.257e+01  -1.87210     1.277883
#&gt;  ds 3 parent  120      8.2  7.710e+00   0.48984    -0.424960
#&gt;  ds 3 parent  120      7.3  7.710e+00  -0.41016     0.355837
#&gt;  ds 3     m1    0      0.8 -1.421e-13   0.80000    -1.216988
#&gt;  ds 3     m1    1      1.8  1.928e+00  -0.12842     0.164382
#&gt;  ds 3     m1    1      2.3  1.928e+00   0.37158    -0.475623
#&gt;  ds 3     m1    3      4.2  4.925e+00  -0.72511     0.744654
#&gt;  ds 3     m1    3      4.1  4.925e+00  -0.82511     0.847349
#&gt;  ds 3     m1    7      6.8  8.542e+00  -1.74215     1.444429
#&gt;  ds 3     m1    7     10.1  8.542e+00   1.55785    -1.291627
#&gt;  ds 3     m1   14     11.4  1.096e+01   0.44492    -0.326877
#&gt;  ds 3     m1   14     12.8  1.096e+01   1.84492    -1.355438
#&gt;  ds 3     m1   28     11.5  1.122e+01   0.27920    -0.202587
#&gt;  ds 3     m1   28     10.6  1.122e+01  -0.62080     0.450442
#&gt;  ds 3     m1   60      7.5  8.912e+00  -1.41171     1.147867
#&gt;  ds 3     m1   60      8.6  8.912e+00  -0.31171     0.253453
#&gt;  ds 3     m1   90      7.3  6.683e+00   0.61657    -0.567369
#&gt;  ds 3     m1   90      8.1  6.683e+00   1.41657    -1.303536
#&gt;  ds 3     m1  120      5.3  4.825e+00   0.47527    -0.491339
#&gt;  ds 3     m1  120      3.8  4.825e+00  -1.02473     1.059361
#&gt;  ds 4 parent    0    104.7  9.956e+01   5.14415    -0.729366
#&gt;  ds 4 parent    0     88.3  9.956e+01 -11.25585     1.595915
#&gt;  ds 4 parent    1     94.2  9.639e+01  -2.19462     0.320391
#&gt;  ds 4 parent    1     94.6  9.639e+01  -1.79462     0.261995
#&gt;  ds 4 parent    3     78.1  9.044e+01 -12.34368     1.908558
#&gt;  ds 4 parent    3     96.5  9.044e+01   6.05632    -0.936418
#&gt;  ds 4 parent    7     76.2  7.988e+01  -3.67799     0.635364
#&gt;  ds 4 parent    7     77.8  7.988e+01  -2.07799     0.358968
#&gt;  ds 4 parent   14     70.8  6.492e+01   5.88059    -1.218059
#&gt;  ds 4 parent   14     67.3  6.492e+01   2.38059    -0.493097
#&gt;  ds 4 parent   28     43.1  4.442e+01  -1.32411     0.377111
#&gt;  ds 4 parent   28     45.1  4.442e+01   0.67589    -0.192494
#&gt;  ds 4 parent   60     21.3  2.136e+01  -0.06143     0.030267
#&gt;  ds 4 parent   60     23.5  2.136e+01   2.13857    -1.053671
#&gt;  ds 4 parent   90     11.8  1.187e+01  -0.06548     0.046122
#&gt;  ds 4 parent   90     12.1  1.187e+01   0.23452    -0.165204
#&gt;  ds 4 parent  120      7.0  6.864e+00   0.13645    -0.124240
#&gt;  ds 4 parent  120      6.2  6.864e+00  -0.66355     0.604171
#&gt;  ds 4     m1    0      1.6  8.811e-13   1.60000    -2.433977
#&gt;  ds 4     m1    1      0.9  6.943e-01   0.20568    -0.293006
#&gt;  ds 4     m1    3      3.7  1.964e+00   1.73568    -2.215152
#&gt;  ds 4     m1    3      2.0  1.964e+00   0.03568    -0.045539
#&gt;  ds 4     m1    7      3.6  4.082e+00  -0.48184     0.523977
#&gt;  ds 4     m1    7      3.8  4.082e+00  -0.28184     0.306486
#&gt;  ds 4     m1   14      7.1  6.694e+00   0.40571    -0.373099
#&gt;  ds 4     m1   14      6.6  6.694e+00  -0.09429     0.086710
#&gt;  ds 4     m1   28      9.5  9.147e+00   0.35343    -0.283895
#&gt;  ds 4     m1   28      9.3  9.147e+00   0.15343    -0.123245
#&gt;  ds 4     m1   60      8.3  8.788e+00  -0.48803     0.399399
#&gt;  ds 4     m1   60      9.0  8.788e+00   0.21197    -0.173474
#&gt;  ds 4     m1   90      6.6  6.644e+00  -0.04431     0.040866
#&gt;  ds 4     m1   90      7.7  6.644e+00   1.05569    -0.973711
#&gt;  ds 4     m1  120      3.7  4.667e+00  -0.96735     1.010605
#&gt;  ds 4     m1  120      3.5  4.667e+00  -1.16735     1.219548
#&gt;  ds 5 parent    0    110.4  1.020e+02   8.37855    -1.161863
#&gt;  ds 5 parent    0    112.1  1.020e+02  10.07855    -1.397604
#&gt;  ds 5 parent    1     93.5  9.494e+01  -1.43722     0.212725
#&gt;  ds 5 parent    1     91.0  9.494e+01  -3.93722     0.582755
#&gt;  ds 5 parent    3     71.0  8.280e+01 -11.80256     1.974773
#&gt;  ds 5 parent    3     89.7  8.280e+01   6.89744    -1.154061
#&gt;  ds 5 parent    7     60.4  6.485e+01  -4.45291     0.923157
#&gt;  ds 5 parent    7     59.1  6.485e+01  -5.75291     1.192667
#&gt;  ds 5 parent   14     56.5  4.626e+01  10.24038    -2.821727
#&gt;  ds 5 parent   14     47.0  4.626e+01   0.74038    -0.204011
#&gt;  ds 5 parent   28     30.2  3.034e+01  -0.13506     0.051824
#&gt;  ds 5 parent   28     23.9  3.034e+01  -6.43506     2.469220
#&gt;  ds 5 parent   60     17.0  1.795e+01  -0.95206     0.525822
#&gt;  ds 5 parent   60     18.7  1.795e+01   0.74794    -0.413085
#&gt;  ds 5 parent   90     11.3  1.186e+01  -0.56163     0.395692
#&gt;  ds 5 parent   90     11.9  1.186e+01   0.03837    -0.027033
#&gt;  ds 5 parent  120      9.0  7.866e+00   1.13427    -0.975579
#&gt;  ds 5 parent  120      8.1  7.866e+00   0.23427    -0.201493
#&gt;  ds 5     m1    0      0.7 -4.263e-14   0.70000    -1.064865
#&gt;  ds 5     m1    1      3.0  3.169e+00  -0.16908     0.196384
#&gt;  ds 5     m1    1      2.6  3.169e+00  -0.56908     0.660990
#&gt;  ds 5     m1    3      5.1  8.455e+00  -3.35479     2.794486
#&gt;  ds 5     m1    3      7.5  8.455e+00  -0.95479     0.795325
#&gt;  ds 5     m1    7     16.5  1.577e+01   0.73235    -0.438460
#&gt;  ds 5     m1    7     19.0  1.577e+01   3.23235    -1.935208
#&gt;  ds 5     m1   14     22.9  2.202e+01   0.88393    -0.426673
#&gt;  ds 5     m1   14     23.2  2.202e+01   1.18393    -0.571482
#&gt;  ds 5     m1   28     22.2  2.399e+01  -1.79091     0.814583
#&gt;  ds 5     m1   28     24.4  2.399e+01   0.40909    -0.186073
#&gt;  ds 5     m1   60     15.5  1.872e+01  -3.21988     1.731175
#&gt;  ds 5     m1   60     19.8  1.872e+01   1.08012    -0.580725
#&gt;  ds 5     m1   90     14.9  1.383e+01   1.06749    -0.690500
#&gt;  ds 5     m1   90     14.2  1.383e+01   0.36749    -0.237710
#&gt;  ds 5     m1  120     10.9  1.004e+01   0.85568    -0.656897
#&gt;  ds 5     m1  120     10.4  1.004e+01   0.35568    -0.273054</div><div class='input'><span class='co'># }</span>

</div></pre>
  </div>
  <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
    <nav id="toc" data-toggle="toc" class="sticky-top">
      <h2 data-toc-skip>Contents</h2>
    </nav>
  </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.6.1.</p>
</div>

      </footer>
   </div>

  


  </body>
</html>


Contact - Imprint