From af7c6de4db9981ac814362c441fbac22c8faa2d7 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 24 Nov 2022 09:02:26 +0100 Subject: Start online docs of the development version --- docs/dev/articles/FOCUS_L.html | 84 ++++++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 39 deletions(-) (limited to 'docs/dev/articles/FOCUS_L.html') diff --git a/docs/dev/articles/FOCUS_L.html b/docs/dev/articles/FOCUS_L.html index 43ed0f69..586a6a00 100644 --- a/docs/dev/articles/FOCUS_L.html +++ b/docs/dev/articles/FOCUS_L.html @@ -34,7 +34,7 @@ mkin - 1.1.2 + 1.2.2 @@ -63,11 +63,14 @@ Example evaluations of dimethenamid data from 2018 with nonlinear mixed-effects models
  • - Example evaluation of FOCUS Example Dataset Z + Short demo of the multistart method
  • Performance benefit by using compiled model definitions in mkin
  • +
  • + Example evaluation of FOCUS Example Dataset Z +
  • Calculation of time weighted average concentrations with mkin
  • @@ -75,7 +78,10 @@ Example evaluation of NAFTA SOP Attachment examples
  • - Some benchmark timings + Benchmark timings for mkin +
  • +
  • + Benchmark timings for saem.mmkin
  • @@ -106,7 +112,7 @@

    Example evaluation of FOCUS Laboratory Data L1 to L3

    Johannes Ranke

    -

    Last change 18 May 2022 (rebuilt 2022-09-16)

    +

    Last change 18 May 2022 (rebuilt 2022-11-24)

    Source: vignettes/FOCUS_L.rmd @@ -132,17 +138,17 @@
     m.L1.SFO <- mkinfit("SFO", FOCUS_2006_L1_mkin, quiet = TRUE)
     summary(m.L1.SFO)
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:35 2022 
    -## Date of summary: Fri Sep 16 10:31:35 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:09 2022 
    +## Date of summary: Thu Nov 24 08:12:09 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - k_parent * parent
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 133 model solutions performed in 0.032 s
    +## Fitted using 133 model solutions performed in 0.033 s
     ## 
     ## Error model: Constant variance 
     ## 
    @@ -238,17 +244,17 @@
     
    ## Warning in sqrt(1/diag(V)): NaNs produced
    ## Warning in cov2cor(ans$covar): diag(.) had 0 or NA entries; non-finite result is
     ## doubtful
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:36 2022 
    -## Date of summary: Fri Sep 16 10:31:36 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:09 2022 
    +## Date of summary: Thu Nov 24 08:12:09 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 369 model solutions performed in 0.081 s
    +## Fitted using 369 model solutions performed in 0.091 s
     ## 
     ## Error model: Constant variance 
     ## 
    @@ -350,17 +356,17 @@
     

     summary(m.L2.FOMC, data = FALSE)
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:36 2022 
    -## Date of summary: Fri Sep 16 10:31:36 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:10 2022 
    +## Date of summary: Thu Nov 24 08:12:10 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 239 model solutions performed in 0.049 s
    +## Fitted using 239 model solutions performed in 0.048 s
     ## 
     ## Error model: Constant variance 
     ## 
    @@ -431,10 +437,10 @@
     

     summary(m.L2.DFOP, data = FALSE)
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:37 2022 
    -## Date of summary: Fri Sep 16 10:31:37 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:10 2022 
    +## Date of summary: Thu Nov 24 08:12:10 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
    @@ -443,7 +449,7 @@
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 581 model solutions performed in 0.132 s
    +## Fitted using 581 model solutions performed in 0.13 s
     ## 
     ## Error model: Constant variance 
     ## 
    @@ -537,10 +543,10 @@
     

    We can extract the summary and plot for e.g. the DFOP fit, using square brackets for indexing which will result in the use of the summary and plot functions working on mkinfit objects.

     summary(mm.L3[["DFOP", 1]])
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:37 2022 
    -## Date of summary: Fri Sep 16 10:31:38 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:11 2022 
    +## Date of summary: Thu Nov 24 08:12:11 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - ((k1 * g * exp(-k1 * time) + k2 * (1 - g) * exp(-k2 *
    @@ -549,7 +555,7 @@
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 376 model solutions performed in 0.079 s
    +## Fitted using 376 model solutions performed in 0.078 s
     ## 
     ## Error model: Constant variance 
     ## 
    @@ -650,17 +656,17 @@
     

    The \(\chi^2\) error level of 3.3% as well as the plot suggest that the SFO model fits very well. The error level at which the \(\chi^2\) test passes is slightly lower for the FOMC model. However, the difference appears negligible.

     summary(mm.L4[["SFO", 1]], data = FALSE)
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:38 2022 
    -## Date of summary: Fri Sep 16 10:31:38 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:12 2022 
    +## Date of summary: Thu Nov 24 08:12:12 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - k_parent * parent
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 142 model solutions performed in 0.03 s
    +## Fitted using 142 model solutions performed in 0.029 s
     ## 
     ## Error model: Constant variance 
     ## 
    @@ -715,17 +721,17 @@
     ## parent  106  352
     summary(mm.L4[["FOMC", 1]], data = FALSE)
    -
    ## mkin version used for fitting:    1.1.2 
    -## R version used for fitting:       4.2.1 
    -## Date of fit:     Fri Sep 16 10:31:38 2022 
    -## Date of summary: Fri Sep 16 10:31:38 2022 
    +
    ## mkin version used for fitting:    1.2.2 
    +## R version used for fitting:       4.2.2 
    +## Date of fit:     Thu Nov 24 08:12:12 2022 
    +## Date of summary: Thu Nov 24 08:12:12 2022 
     ## 
     ## Equations:
     ## d_parent/dt = - (alpha/beta) * 1/((time/beta) + 1) * parent
     ## 
     ## Model predictions using solution type analytical 
     ## 
    -## Fitted using 224 model solutions performed in 0.045 s
    +## Fitted using 224 model solutions performed in 0.044 s
     ## 
     ## Error model: Constant variance 
     ## 
    -- 
    cgit v1.2.1