From cf54ccca37d27480dbf8d59eb027300518f7ad75 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
Date: Fri, 19 May 2023 17:08:43 +0200
Subject: Prepare release of v1.2.4
- Update DESCRIPTION
- Update Makefile to document how to use R-patched
- Remove markup from two URLs to avoid CRAN NOTE
- Switch two vignettes from html_document to html_vignette to save space
in the docs directory, also avoiding a CRAN NOTE
- Complete rebuild of pkgdown docs for release
---
docs/articles/prebuilt/2022_dmta_pathway.html | 168 ++++++++++++++------------
1 file changed, 88 insertions(+), 80 deletions(-)
(limited to 'docs/articles/prebuilt/2022_dmta_pathway.html')
diff --git a/docs/articles/prebuilt/2022_dmta_pathway.html b/docs/articles/prebuilt/2022_dmta_pathway.html
index c8323add..ea4bd087 100644
--- a/docs/articles/prebuilt/2022_dmta_pathway.html
+++ b/docs/articles/prebuilt/2022_dmta_pathway.html
@@ -33,7 +33,7 @@
mkin
- 1.2.3.1
+ 1.2.4
@@ -135,7 +135,7 @@ residue data on dimethenamid and dimethenamid-P
Ranke
Last change on 20 April 2023,
-last compiled on 20 April 2023
+last compiled on 19 Mai 2023
Source: vignettes/prebuilt/2022_dmta_pathway.rmd
2022_dmta_pathway.rmd
@@ -155,7 +155,7 @@ can be fitted with the mkin package.
173340 (Application of nonlinear hierarchical models to the kinetic
evaluation of chemical degradation data) of the German Environment
Agency carried out in 2022 and 2023.
-The mkin package is used in version 1.2.3, which is currently under
+
The mkin package is used in version 1.2.4, which is currently under
development. It contains the test data, and the functions used in the
evaluations. The saemix
package is used as a backend for
fitting the NLHM, but is also loaded to make the convergence plot
@@ -1496,7 +1496,7 @@ of parent models tested here.
dfop_path_1 |
OK |
OK |
-C |
+OK |
OK |
OK |
OK |
@@ -1514,7 +1514,7 @@ of parent models tested here.
hs_path_1 |
C |
C |
-C |
+OK |
C |
C |
C |
@@ -1552,24 +1552,24 @@ not converge with default settings.
fomc_path_1 |
OK |
OK |
-C |
OK |
OK |
-C |
+OK |
+OK |
dfop_path_1 |
OK |
C |
OK |
-OK |
+C |
OK |
OK |
sforb_path_1 |
OK |
-C |
+OK |
OK |
OK |
OK |
@@ -1582,7 +1582,7 @@ not converge with default settings.
C |
C |
C |
-OK |
+C |
@@ -1643,8 +1643,6 @@ than twenty minutes.
successfully.
-Warning in FUN(X[[i]], ...): Could not obtain log likelihood with 'is' method
-for sforb_path_1 const
sfo_path_1 tc |
18 |
-2276.3 |
-2272.5 |
--1120.1 |
+2276.4 |
+2272.7 |
+-1120.2 |
fomc_path_1 const |
19 |
-2099.0 |
-2095.0 |
--1030.5 |
+2095.9 |
+2091.9 |
+-1028.9 |
fomc_path_1 tc |
20 |
-1939.6 |
-1935.5 |
--949.8 |
+1939.0 |
+1934.8 |
+-949.5 |
dfop_path_1 const |
21 |
-2038.8 |
-2034.4 |
--998.4 |
+2039.7 |
+2035.3 |
+-998.8 |
-hs_path_1 const |
+sforb_path_1 const |
21 |
-2024.2 |
-2019.8 |
--991.1 |
+2017.7 |
+2013.4 |
+-987.9 |
+hs_path_1 const |
+21 |
+2023.7 |
+2019.3 |
+-990.9 |
+
+
dfop_path_1 tc |
22 |
-1879.8 |
-1875.2 |
--917.9 |
+1881.7 |
+1877.1 |
+-918.9 |
-
+
sforb_path_1 tc |
22 |
-1832.9 |
-1828.3 |
--894.4 |
+1832.7 |
+1828.1 |
+-894.3 |
-
+
hs_path_1 tc |
22 |
-1831.4 |
-1826.8 |
--893.7 |
+1831.6 |
+1827.0 |
+-893.8 |
@@ -1740,7 +1745,7 @@ Matrix
+
sforb_path_1 |
- |
+sd(log_k_DMTA_bound_free) |
sd(log_k_DMTA_bound_free) |
@@ -1786,13 +1791,13 @@ two-component error, the random effect for the rate constant from
reversibly bound DMTA to the free DMTA (k_DMTA_bound_free
)
is not well-defined. Therefore, the fit is updated without assuming a
random effect for this parameter.
-
+
saem_sforb_path_1_tc_reduced <- update(saem_1[["sforb_path_1", "tc"]],
no_random_effect = "log_k_DMTA_bound_free")
illparms(saem_sforb_path_1_tc_reduced)
As expected, no ill-defined parameters remain. The model comparison
below shows that the reduced model is preferable.
-
+
anova(saem_1[["sforb_path_1", "tc"]], saem_sforb_path_1_tc_reduced) |> kable(digits = 1)
saem_sforb_path_1_tc_reduced |
21 |
-1830.3 |
-1825.9 |
+1830.4 |
+1826.0 |
-894.2 |
saem_1[[“sforb_path_1”, “tc”]] |
22 |
-1832.9 |
-1828.3 |
--894.4 |
+1832.7 |
+1828.1 |
+-894.3 |
The convergence plot of the refined fit is shown below.
-
+
plot(saem_sforb_path_1_tc_reduced$so, plot.type = "convergence")
![](2022_dmta_pathway_files/figure-html/saem-sforb-path-1-tc-reduced-convergence-1.png)
For some parameters, for example for f_DMTA_ilr_1
and
@@ -1839,14 +1844,14 @@ saemix.
As an alternative check of parameter identifiability (Duchesne et al. 2021), multistart runs were
performed on the basis of the refined fit shown above.
-
+
saem_sforb_path_1_tc_reduced_multi <- multistart(saem_sforb_path_1_tc_reduced,
n = 32, cores = 10)
-
+
print(saem_sforb_path_1_tc_reduced_multi)
<multistart> object with 32 fits:
E OK
-15 17
+ 7 25
OK: Fit terminated successfully
E: Error
Out of the 32 fits that were initiated, only 17 terminated without an
@@ -1856,7 +1861,7 @@ the SAEM algorithm leads to parameter combinations for the degradation
model that the numerical integration routine cannot cope with. Because
of this variation of initial parameters, some of the model fits take up
to two times more time than the original fit.
-
+
par(mar = c(12.1, 4.1, 2.1, 2.1))
parplot(saem_sforb_path_1_tc_reduced_multi, ylim = c(0.5, 2), las = 2)