diff options
-rw-r--r-- | R/mkinerrmin.R | 4 | ||||
-rw-r--r-- | R/transform_odeparms.R | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/R/mkinerrmin.R b/R/mkinerrmin.R index 074cc568..671bcaab 100644 --- a/R/mkinerrmin.R +++ b/R/mkinerrmin.R @@ -1,6 +1,4 @@ -# $Id$
-
-# Copyright (C) 2010-2013 Johannes Ranke
+# Copyright (C) 2010-2014 Johannes Ranke
# Contact: jranke@uni-bremen.de
# This file is part of the R package mkin
diff --git a/R/transform_odeparms.R b/R/transform_odeparms.R index 2438151b..6932fdef 100644 --- a/R/transform_odeparms.R +++ b/R/transform_odeparms.R @@ -44,7 +44,8 @@ transform_odeparms <- function(parms, mod_vars, }
}
- # Transform rates, fractions and tb also for FOMC, DFOP and HS models if requested
+ # Transform also FOMC parameters alpha and beta, DFOP and HS rates k1 and k2
+ # and HS parameter tb if transformation of rates is requested
for (pname in c("alpha", "beta", "k1", "k2", "tb")) {
if (!is.na(parms[pname])) {
transparms[pname] <- ifelse(transform_rates, log(parms[pname]), parms[pname])
|