aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-06-23 11:17:27 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-06-23 11:17:27 +0200
commit548b67e5d54e78150cfc6474ad129af9408f4997 (patch)
tree90e22e87ca1161f5b8e8288ed3c46ff41345e9bf /man
parentf47821e831a55716ce045134006df52a0d8c7050 (diff)
Hopefully fix compiling on Solaris, verbose option
- Only declare the time variable in the C code when needed in the derivatives. - Add the option to show verbose output of cfunction() when compiling the model to a shared library.
Diffstat (limited to 'man')
-rw-r--r--man/mkinmod.Rd13
1 files changed, 11 insertions, 2 deletions
diff --git a/man/mkinmod.Rd b/man/mkinmod.Rd
index f6a8fe5d..35372919 100644
--- a/man/mkinmod.Rd
+++ b/man/mkinmod.Rd
@@ -13,7 +13,7 @@
in the FOCUS and NAFTA guidance documents are used.
}
\usage{
-mkinmod(..., use_of_ff = "min", speclist = NULL, quiet = FALSE)
+mkinmod(..., use_of_ff = "min", speclist = NULL, quiet = FALSE, verbose = FALSE)
}
\arguments{
\item{...}{
@@ -45,6 +45,10 @@ mkinmod(..., use_of_ff = "min", speclist = NULL, quiet = FALSE)
\item{quiet}{
Should messages be suppressed?
}
+ \item{verbose}{
+ If \code{TRUE}, passed to \code{\link{cfunction}} if applicable to give
+ detailed information about the C function being built.
+ }
}
\value{
A list of class \code{mkinmod} for use with \code{\link{mkinfit}}, containing
@@ -80,7 +84,7 @@ mkinmod(..., use_of_ff = "min", speclist = NULL, quiet = FALSE)
# Specify the SFO model (this is not needed any more, as we can now mkinfit("SFO", ...)
SFO <- mkinmod(parent = list(type = "SFO"))
-# One parent compound, one metabolite, both single first order.
+# One parent compound, one metabolite, both single first order
SFO_SFO <- mkinmod(
parent = mkinsub("SFO", "m1"),
m1 = mkinsub("SFO"))
@@ -90,6 +94,11 @@ SFO_SFO <- mkinmod(
parent = list(type = "SFO", to = "m1"),
m1 = list(type = "SFO"))
+# Show details of creating the C function
+SFO_SFO <- mkinmod(
+ parent = mkinsub("SFO", "m1"),
+ m1 = mkinsub("SFO"), verbose = TRUE)
+
# 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")),

Contact - Imprint