From 5587e833e0898e687466129dbc14950ddd58f1e0 Mon Sep 17 00:00:00 2001 From: jranke Date: Wed, 11 Apr 2012 15:49:50 +0000 Subject: - Testing of the new fitting process with transformed parameters shows that it is less stable than the way of fitting used in mkin 0.8. Presumably this is due to the frequent presence of products of two parameters (formation fractions and kinetic rate constants) in the differential equations. - mkinmod documentation was adapted to the new version - Introduce vim fold markers to the mkinmod source for convenience git-svn-id: svn+ssh://svn.r-forge.r-project.org/svnroot/kinfit/pkg/mkin@24 edb9625f-4e0d-4859-8d74-9fd3b1da38cb --- man/mkinmod.Rd | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'man') diff --git a/man/mkinmod.Rd b/man/mkinmod.Rd index 7c11735..16ad38a 100644 --- a/man/mkinmod.Rd +++ b/man/mkinmod.Rd @@ -19,12 +19,10 @@ mkinmod(...) single first order with reversible binding "SFORB" are implemented for all variables, while "FOMC", "DFOP" and "HS" can additionally be chosen for the first - variable which is assumed to be the source compartment. Optional components - of each argument are \code{to}, a - vector of names of variables to which a transfer is to be assumed in the - model, and \code{sink}, a logical specifying if transformation to - unspecified compounds (sink) is to be assumed in the model (defaults to - \code{TRUE}) + variable which is assumed to be the source compartment. + Additionally, each component of the list can include a character vector \code{to}, + specifying names of variables to which a transfer is to be assumed in the + model. } } \value{ @@ -37,17 +35,16 @@ mkinmod(...) \item{coefmat}{ The coefficient matrix, if the system of differential equations can be represented by one. } } \author{ - Johannes Ranke + Johannes Ranke } \examples{ -# There are different ways to specify the SFO model -SFO.1 <- mkinmod(parent = list(type = "SFO", to = NULL, sink = TRUE)) -SFO.2 <- mkinmod(parent = list(type = "SFO")) -all.equal(SFO.1, SFO.2) +# Specify the SFO model +SFO <- mkinmod(parent = list(type = "SFO")) # One parent compound, one metabolite, both single first order. SFO_SFO <- mkinmod( - parent = list(type = "SFO", to = "m1", sink = TRUE), + parent = list(type = "SFO", to = "m1"), m1 = list(type = "SFO")) + } \keyword{ models } -- cgit v1.2.1