From e05656d57668688b971c28e32b4cfd4d3eac4662 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 18 Sep 2019 13:03:50 +0200 Subject: Correct and rebuild docs - Reconcile docs and code for max_twa_parent - Correct links to docs in twa vignette - Static documentation rebuilt by pkgdown --- docs/reference/mkinmod.html | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'docs/reference/mkinmod.html') diff --git a/docs/reference/mkinmod.html b/docs/reference/mkinmod.html index 16f80fe0..81fed454 100644 --- a/docs/reference/mkinmod.html +++ b/docs/reference/mkinmod.html @@ -16,13 +16,15 @@ - + + - - + + + @@ -52,6 +54,7 @@ For the definition of model types and their parameters, the equations given + @@ -121,6 +124,7 @@ For the definition of model types and their parameters, the equations given +
@@ -220,21 +224,22 @@ For the definition of model types and their parameters, the equations given

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 = list(type = "SFO")) # One parent compound, one metabolite, both single first order SFO_SFO <- mkinmod( parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"))
#> Successfully compiled differential equation model from auto-generated C code.
-
# The above model used to be specified like this, before the advent of mkinsub() +# \dontrun{ +# The above model used to be specified like this, before the advent of mkinsub() SFO_SFO <- mkinmod( - parent = list(type = "SFO", to = "m1"), - m1 = list(type = "SFO"))
#> Successfully compiled differential equation model from auto-generated C code.
+ parent = list(type = "SFO", to = "m1"), + m1 = list(type = "SFO"))
#> Successfully compiled differential equation model from auto-generated C code.
# Show details of creating the C function SFO_SFO <- mkinmod( parent = mkinsub("SFO", "m1"), m1 = mkinsub("SFO"), verbose = TRUE)
#> Compilation argument: -#> /usr/lib/R/bin/R CMD SHLIB file37c428e02a2c.c 2> file37c428e02a2c.c.err.txt +#> /usr/lib/R/bin/R CMD SHLIB file419a1fa6c394.c 2> file419a1fa6c394.c.err.txt #> Program source: #> 1: #include <R.h> #> 2: @@ -257,14 +262,15 @@ For the definition of model types and their parameters, the equations given #> 19: }
#> Successfully compiled differential equation model from auto-generated C code.
# If we have several parallel metabolites # (compare tests/testthat/test_synthetic_data_for_UBA_2014.R) -m_synth_DFOP_par <- mkinmod(parent = mkinsub("DFOP", c("M1", "M2")), +m_synth_DFOP_par <- mkinmod(parent = mkinsub("DFOP", c("M1", "M2")), M1 = mkinsub("SFO"), M2 = mkinsub("SFO"), use_of_ff = "max", quiet = TRUE) fit_DFOP_par_c <- mkinfit(m_synth_DFOP_par, synthetic_data_for_UBA_2014[[12]]$data, - quiet = TRUE)
+ quiet = TRUE) +# }
+ + + -- cgit v1.2.1