From 34ec60f1b140d788880d84b70cb62b344f7d74b9 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sun, 16 Apr 2023 13:42:23 +0200 Subject: Complete rebuild of static docs --- docs/dev/reference/mkinpredict.html | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) (limited to 'docs/dev/reference/mkinpredict.html') diff --git a/docs/dev/reference/mkinpredict.html b/docs/dev/reference/mkinpredict.html index f265a234..01c15a19 100644 --- a/docs/dev/reference/mkinpredict.html +++ b/docs/dev/reference/mkinpredict.html @@ -124,6 +124,7 @@ kinetic parameters and initial values for the state variables.

outtimes = seq(0, 120, by = 0.1), solution_type = "deSolve", use_compiled = "auto", + use_symbols = FALSE, method.ode = "lsoda", atol = 1e-08, rtol = 1e-10, @@ -193,6 +194,11 @@ parent compound.

mkinmod model is used, even if is present.

+
use_symbols
+

If set to TRUE (default), symbol info present in +the mkinmod object is used if available for accessing compiled code

+ +
method.ode

The solution method passed via mkinpredict to ode] in case the solution type is "deSolve" and we are not using compiled code. @@ -388,27 +394,18 @@ as these always return mapped output.

c(parent = 100, m1 = 0), seq(0, 20, by = 0.1), solution_type = "analytical", use_compiled = FALSE)[201,]) } -#> Loading required package: rbenchmark #> test relative elapsed -#> 4 analytical 1.000 0.007 -#> 1 eigen 1.143 0.008 -#> 2 deSolve_compiled 8.857 0.062 -#> 3 deSolve 8.857 0.062 +#> 2 deSolve_compiled 1.0 0.002 +#> 4 analytical 1.0 0.002 +#> 1 eigen 4.0 0.008 +#> 3 deSolve 30.5 0.061 # \dontrun{ # Predict from a fitted model f <- mkinfit(SFO_SFO, FOCUS_2006_C, quiet = TRUE) f <- mkinfit(SFO_SFO, FOCUS_2006_C, quiet = TRUE, solution_type = "deSolve") head(mkinpredict(f)) -#> DLSODA- At current T (=R1), MXSTEP (=I1) steps -#> taken on this call before reaching TOUT -#> In above message, I1 = 1 -#> -#> In above message, R1 = 9.99904e-07 -#> -#> Warning: an excessive amount of work (> maxsteps ) was done, but integration was not successful - increase maxsteps -#> Warning: Returning early. Results are accurate, as far as they go -#> Error in out[available, var]: (subscript) logical subscript too long +#> Error in !is.null(x$symbols) & use_symbols: operations are possible only for numeric, logical or complex types # } -- cgit v1.2.1