diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2014-06-25 18:20:05 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2014-06-25 18:20:05 +0200 |
commit | 606883b6dfa9ffdf11c280cfabe7580c67e73e58 (patch) | |
tree | a810e99a2946910bd5f781aebdd68354f07573b2 /R | |
parent | 3a6efdf556f2d72b8cce8bcb63209abaf4acafb4 (diff) |
Remove old ID tag, improve comment
Diffstat (limited to 'R')
-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])
|