aboutsummaryrefslogtreecommitdiff
path: root/R/transform_odeparms.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2014-06-25 18:20:05 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2014-06-25 18:20:05 +0200
commit606883b6dfa9ffdf11c280cfabe7580c67e73e58 (patch)
treea810e99a2946910bd5f781aebdd68354f07573b2 /R/transform_odeparms.R
parent3a6efdf556f2d72b8cce8bcb63209abaf4acafb4 (diff)
Remove old ID tag, improve comment
Diffstat (limited to 'R/transform_odeparms.R')
-rw-r--r--R/transform_odeparms.R3
1 files changed, 2 insertions, 1 deletions
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])

Contact - Imprint