aboutsummaryrefslogtreecommitdiff
path: root/R/dimethenamid_2018.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-06-16 18:03:22 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2021-06-16 18:03:22 +0200
commit28197d5fcbaf85b39f4c032b8180d68b6f6a01b3 (patch)
treeba4cc748b6109c86e97292774d1ebb0ec3066803 /R/dimethenamid_2018.R
parent88cf130615a6cde0c4e65d14db32fed7f6e43085 (diff)
Translate formation fractions to nlmixr language
Works for the dimethenamid data, at least for FOCEI. Very little testing yet. The summary function does not yet handle the new transformations of formation fractions (that are in fact very old, as they were used in the very first version of mkin). The test file has no tests yet, just some code that may be used for testing.
Diffstat (limited to 'R/dimethenamid_2018.R')
-rw-r--r--R/dimethenamid_2018.R11
1 files changed, 9 insertions, 2 deletions
diff --git a/R/dimethenamid_2018.R b/R/dimethenamid_2018.R
index 79018c11..76b98efe 100644
--- a/R/dimethenamid_2018.R
+++ b/R/dimethenamid_2018.R
@@ -41,6 +41,13 @@
#' f_dmta_mkin_tc <- mmkin(
#' list("DFOP-SFO3+" = dfop_sfo3_plus),
#' dmta_ds, quiet = TRUE, error_model = "tc")
-#' nlmixr_model(f_dmta_mkin_tc) # incomplete
-#' # nlmixr(f_dmta_mkin_tc, est = "saem") # not supported (yet)
+#' nlmixr_model(f_dmta_mkin_tc)
+#' f_dmta_nlmixr_saem <- nlmixr(f_dmta_mkin_tc, est = "saem",
+#' control = saemControl(print = 500))
+#' summary(f_dmta_nlmixr_saem)
+#' plot(f_dmta_nlmixr_saem)
+#' f_dmta_nlmixr_focei <- nlmixr(f_dmta_mkin_tc, est = "focei",
+#' control = foceiControl(print = 500))
+#' summary(f_dmta_nlmixr_focei)
+#' plot(f_dmta_nlmixr_focei)
"dimethenamid_2018"

Contact - Imprint