From 234c9059a95e104917e488a6ddd2313234a96cdc Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Mon, 11 May 2020 05:15:19 +0200 Subject: Avoid merge() and data.frame() in cost function also for deSolve and eigenvalue based solutions. This noticeably increases performance for these methods, see test.log and benchmark vignette. --- docs/reference/mkinmod.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/reference/mkinmod.html') diff --git a/docs/reference/mkinmod.html b/docs/reference/mkinmod.html index 2f2e89d9..81b62ae1 100644 --- a/docs/reference/mkinmod.html +++ b/docs/reference/mkinmod.html @@ -237,7 +237,7 @@ in the FOCUS and NAFTA guidance documents are used.

Examples

# Specify the SFO model (this is not needed any more, as we can now mkinfit("SFO", ...) -SFO <- mkinmod(parent = list(type = "SFO")) +SFO <- mkinmod(parent = mkinsub("SFO")) # One parent compound, one metabolite, both single first order SFO_SFO <- mkinmod( @@ -252,7 +252,7 @@ in the FOCUS and NAFTA guidance documents are used.

SFO_SFO <- mkinmod( parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"), verbose = TRUE)
#> Compilation argument: -#> /usr/lib/R/bin/R CMD SHLIB fileb6a4eaab60.c 2> fileb6a4eaab60.c.err.txt +#> /usr/lib/R/bin/R CMD SHLIB file1a1abf38df.c 2> file1a1abf38df.c.err.txt #> Program source: #> 1: #include <R.h> #> 2: -- cgit v1.2.1