diff options
Diffstat (limited to 'vignettes/FOCUS_L.html')
-rw-r--r-- | vignettes/FOCUS_L.html | 69 |
1 files changed, 32 insertions, 37 deletions
diff --git a/vignettes/FOCUS_L.html b/vignettes/FOCUS_L.html index 7e0ef4dd..7fb65960 100644 --- a/vignettes/FOCUS_L.html +++ b/vignettes/FOCUS_L.html @@ -80,13 +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 -## Loading required package: parallel</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, @@ -98,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:41 2015 -## Date of summary: Fri Jun 26 14:41:41 2015 +## Date of fit: Fri Jun 26 16:06:47 2015 +## Date of summary: Fri Jun 26 16:06:47 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.08 s +## Fitted with method Port using 37 model solutions performed in 0.096 s ## ## Weighting: none ## @@ -188,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:41 2015 -## Date of summary: Fri Jun 26 14:41:41 2015 +## Date of fit: Fri Jun 26 16:06:48 2015 +## Date of summary: Fri Jun 26 16:06:48 2015 ## ## ## Warning: Optimisation by method Port did not converge. @@ -201,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.555 s ## ## Weighting: none ## @@ -268,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:42 2015 -## Date of summary: Fri Jun 26 14:41:42 2015 +## Date of fit: Fri Jun 26 16:06:48 2015 +## Date of summary: Fri Jun 26 16:06:48 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.087 s +## Fitted with method Port using 41 model solutions performed in 0.112 s ## ## Weighting: none ## @@ -356,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:42 2015 -## Date of summary: Fri Jun 26 14:41:42 2015 +## Date of fit: Fri Jun 26 16:06:49 2015 +## Date of summary: Fri Jun 26 16:06:49 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.21 s ## ## Weighting: none ## @@ -428,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:44 2015 -## Date of summary: Fri Jun 26 14:41:44 2015 +## Date of fit: Fri Jun 26 16:06:52 2015 +## Date of summary: Fri Jun 26 16:06:52 2015 ## ## Equations: ## d_parent = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 * @@ -438,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.744 s +## Fitted with method Port using 336 model solutions performed in 0.945 s ## ## Weighting: none ## @@ -505,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:44 2015 -## Date of summary: Fri Jun 26 14:41:44 2015 +## Date of fit: Fri Jun 26 16:06:52 2015 +## Date of summary: Fri Jun 26 16:06:52 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.087 s +## Fitted with method Port using 43 model solutions performed in 0.122 s ## ## Weighting: none ## @@ -581,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:44 2015 -## Date of summary: Fri Jun 26 14:41:44 2015 +## Date of fit: Fri Jun 26 16:06:52 2015 +## Date of summary: Fri Jun 26 16:06:52 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.235 s ## ## Weighting: none ## @@ -647,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:45 2015 -## Date of summary: Fri Jun 26 14:41:45 2015 +## Date of fit: Fri Jun 26 16:06:53 2015 +## Date of summary: Fri Jun 26 16:06:53 2015 ## ## Equations: ## d_parent = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 * @@ -657,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.287 s +## Fitted with method Port using 137 model solutions performed in 0.385 s ## ## Weighting: none ## @@ -729,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:45 2015 -## Date of summary: Fri Jun 26 14:41:45 2015 +## Date of fit: Fri Jun 26 16:06:53 2015 +## Date of summary: Fri Jun 26 16:06:53 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.097 s +## Fitted with method Port using 46 model solutions performed in 0.116 s ## ## Weighting: none ## @@ -794,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.39 ## R version: 3.2.1 -## Date of fit: Fri Jun 26 14:41:45 2015 -## Date of summary: Fri Jun 26 14:41:45 2015 +## Date of fit: Fri Jun 26 16:06:54 2015 +## Date of summary: Fri Jun 26 16:06:54 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.143 s +## Fitted with method Port using 66 model solutions performed in 0.175 s ## ## Weighting: none ## |