From 48a314feb6538774504c2b118cdbaededd2eb25b Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 28 Jun 2016 08:06:03 +0200 Subject: Attempts to reduce vignette size Reducing the size of some figures and switching of retina figures in the preamble only gives a small decrease in vignette size, but may be enough to get the size of the doc directory below 5 MB to avoid the NOTE in the corresponding check (which I did not get locally, nor on winbuilder using r-devel. --- vignettes/FOCUS_D.html | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'vignettes/FOCUS_D.html') diff --git a/vignettes/FOCUS_D.html b/vignettes/FOCUS_D.html index e01c5869..f3eb6a0c 100644 --- a/vignettes/FOCUS_D.html +++ b/vignettes/FOCUS_D.html @@ -124,8 +124,13 @@ $(document).ready(function () {

This is just a very simple vignette showing how to fit a degradation model for a parent compound with one transformation product using mkin. After loading the library we look a the data. We have observed concentrations in the column named value at the times specified in column time for the two observed variables named parent and m1.

-
library("mkin")
-print(FOCUS_2006_D)
+
library("mkin")
+
## Loading required package: minpack.lm
+
## Loading required package: rootSolve
+
## Loading required package: inline
+
## Loading required package: methods
+
## Loading required package: parallel
+
print(FOCUS_2006_D)
##      name time  value
 ## 1  parent    0  99.46
 ## 2  parent    0 102.04
@@ -184,16 +189,16 @@ print(FOCUS_2006_D)
fit <- mkinfit(SFO_SFO, FOCUS_2006_D, quiet = TRUE)

A plot of the fit including a residual plot for both observed variables is obtained using the plot method for mkinfit objects.

plot(fit, show_residuals = TRUE)
-

+

Confidence intervals for the parameter estimates are obtained using the mkinparplot function.

mkinparplot(fit)
-

+

A comprehensive report of the results is obtained using the summary method for mkinfit objects.

summary(fit)
## mkin version:    0.9.43 
 ## R version:       3.3.1 
-## Date of fit:     Tue Jun 28 01:59:43 2016 
-## Date of summary: Tue Jun 28 01:59:44 2016 
+## Date of fit:     Tue Jun 28 07:48:50 2016 
+## Date of summary: Tue Jun 28 07:48:50 2016 
 ## 
 ## Equations:
 ## d_parent = - k_parent_sink * parent - k_parent_m1 * parent
@@ -201,7 +206,7 @@ print(FOCUS_2006_D)
## ## Model predictions using solution type deSolve ## -## Fitted with method Port using 153 model solutions performed in 1.698 s +## Fitted with method Port using 153 model solutions performed in 1.659 s ## ## Weighting: none ## -- cgit v1.2.1