diff options
Diffstat (limited to 'vignettes/FOCUS_L.html')
| -rw-r--r-- | vignettes/FOCUS_L.html | 68 | 
1 files changed, 32 insertions, 36 deletions
| diff --git a/vignettes/FOCUS_L.html b/vignettes/FOCUS_L.html index 153be558..488d5dc8 100644 --- a/vignettes/FOCUS_L.html +++ b/vignettes/FOCUS_L.html @@ -80,12 +80,8 @@ img {  <div id="laboratory-data-l1" class="section level2">  <h2>Laboratory Data L1</h2>  <p>The following code defines example dataset L1 from the FOCUS kinetics report, p. 284:</p> -<pre class="r"><code>library("mkin")</code></pre> -<pre><code>## Loading required package: minpack.lm -## Loading required package: rootSolve -## Loading required package: inline -## Loading required package: methods</code></pre> -<pre class="r"><code>FOCUS_2006_L1 = data.frame( +<pre class="r"><code>library("mkin") +FOCUS_2006_L1 = data.frame(    t = rep(c(0, 1, 2, 3, 5, 7, 14, 21, 30), each = 2),    parent = c(88.3, 91.4, 85.6, 84.5, 78.9, 77.6,                72.0, 71.9, 50.3, 59.4, 47.0, 45.1, @@ -97,15 +93,15 @@ FOCUS_2006_L1_mkin <- mkin_wide_to_long(FOCUS_2006_L1)</code></pre>  summary(m.L1.SFO)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:53 2015  -## Date of summary: Mon Jun 22 18:38:53 2015  +## Date of fit:     Mon Jun 22 20:44:34 2015  +## Date of summary: Mon Jun 22 20:44:34 2015   ##   ## Equations:  ## d_parent = - k_parent_sink * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 37 model solutions performed in 0.089 s +## Fitted with method Port using 37 model solutions performed in 0.093 s  ##   ## Weighting: none  ##  @@ -187,8 +183,8 @@ summary(m.L1.SFO)</code></pre>  <pre class="r"><code>summary(m.L1.FOMC, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:54 2015  -## Date of summary: Mon Jun 22 18:38:54 2015  +## Date of fit:     Mon Jun 22 20:44:35 2015  +## Date of summary: Mon Jun 22 20:44:35 2015   ##   ##   ## Warning: Optimisation by method Port did not converge. @@ -200,7 +196,7 @@ summary(m.L1.SFO)</code></pre>  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 188 model solutions performed in 0.397 s +## Fitted with method Port using 188 model solutions performed in 0.48 s  ##   ## Weighting: none  ##  @@ -267,15 +263,15 @@ FOCUS_2006_L2_mkin <- mkin_wide_to_long(FOCUS_2006_L2)</code></pre>  summary(m.L2.SFO)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:54 2015  -## Date of summary: Mon Jun 22 18:38:54 2015  +## Date of fit:     Mon Jun 22 20:44:35 2015  +## Date of summary: Mon Jun 22 20:44:35 2015   ##   ## Equations:  ## d_parent = - k_parent_sink * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 41 model solutions performed in 0.086 s +## Fitted with method Port using 41 model solutions performed in 0.104 s  ##   ## Weighting: none  ##  @@ -355,15 +351,15 @@ mkinresplot(m.L2.FOMC)</code></pre>  <pre class="r"><code>summary(m.L2.FOMC, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:54 2015  -## Date of summary: Mon Jun 22 18:38:54 2015  +## Date of fit:     Mon Jun 22 20:44:36 2015  +## Date of summary: Mon Jun 22 20:44:36 2015   ##   ## Equations:  ## d_parent = - (alpha/beta) * 1/((time/beta) + 1) * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 81 model solutions performed in 0.175 s +## Fitted with method Port using 81 model solutions performed in 0.203 s  ##   ## Weighting: none  ##  @@ -427,8 +423,8 @@ plot(m.L2.DFOP)</code></pre>  <pre class="r"><code>summary(m.L2.DFOP, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:56 2015  -## Date of summary: Mon Jun 22 18:38:56 2015  +## Date of fit:     Mon Jun 22 20:44:38 2015  +## Date of summary: Mon Jun 22 20:44:38 2015   ##   ## Equations:  ## d_parent = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 * @@ -437,7 +433,7 @@ plot(m.L2.DFOP)</code></pre>  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 336 model solutions performed in 0.751 s +## Fitted with method Port using 336 model solutions performed in 0.926 s  ##   ## Weighting: none  ##  @@ -504,15 +500,15 @@ plot(m.L3.SFO)</code></pre>  <pre class="r"><code>summary(m.L3.SFO)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:56 2015  -## Date of summary: Mon Jun 22 18:38:56 2015  +## Date of fit:     Mon Jun 22 20:44:38 2015  +## Date of summary: Mon Jun 22 20:44:38 2015   ##   ## Equations:  ## d_parent = - k_parent_sink * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 43 model solutions performed in 0.088 s +## Fitted with method Port using 43 model solutions performed in 0.132 s  ##   ## Weighting: none  ##  @@ -580,15 +576,15 @@ plot(m.L3.FOMC)</code></pre>  <pre class="r"><code>summary(m.L3.FOMC, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:57 2015  -## Date of summary: Mon Jun 22 18:38:57 2015  +## Date of fit:     Mon Jun 22 20:44:39 2015  +## Date of summary: Mon Jun 22 20:44:39 2015   ##   ## Equations:  ## d_parent = - (alpha/beta) * 1/((time/beta) + 1) * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 83 model solutions performed in 0.178 s +## Fitted with method Port using 83 model solutions performed in 0.221 s  ##   ## Weighting: none  ##  @@ -646,8 +642,8 @@ plot(m.L3.DFOP)</code></pre>  <pre class="r"><code>summary(m.L3.DFOP, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:57 2015  -## Date of summary: Mon Jun 22 18:38:57 2015  +## Date of fit:     Mon Jun 22 20:44:39 2015  +## Date of summary: Mon Jun 22 20:44:39 2015   ##   ## Equations:  ## d_parent = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 * @@ -656,7 +652,7 @@ plot(m.L3.DFOP)</code></pre>  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 137 model solutions performed in 0.292 s +## Fitted with method Port using 137 model solutions performed in 0.372 s  ##   ## Weighting: none  ##  @@ -728,15 +724,15 @@ plot(m.L4.SFO)</code></pre>  <pre class="r"><code>summary(m.L4.SFO, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:57 2015  -## Date of summary: Mon Jun 22 18:38:57 2015  +## Date of fit:     Mon Jun 22 20:44:40 2015  +## Date of summary: Mon Jun 22 20:44:40 2015   ##   ## Equations:  ## d_parent = - k_parent_sink * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 46 model solutions performed in 0.102 s +## Fitted with method Port using 46 model solutions performed in 0.115 s  ##   ## Weighting: none  ##  @@ -793,15 +789,15 @@ plot(m.L4.FOMC)</code></pre>  <pre class="r"><code>summary(m.L4.FOMC, data = FALSE)</code></pre>  <pre><code>## mkin version:    0.9.37   ## R version:       3.2.1  -## Date of fit:     Mon Jun 22 18:38:58 2015  -## Date of summary: Mon Jun 22 18:38:58 2015  +## Date of fit:     Mon Jun 22 20:44:40 2015  +## Date of summary: Mon Jun 22 20:44:40 2015   ##   ## Equations:  ## d_parent = - (alpha/beta) * 1/((time/beta) + 1) * parent  ##   ## Model predictions using solution type analytical   ##  -## Fitted with method Port using 66 model solutions performed in 0.137 s +## Fitted with method Port using 66 model solutions performed in 0.169 s  ##   ## Weighting: none  ##  | 
