aboutsummaryrefslogtreecommitdiff
path: root/R/transform_odeparms.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/transform_odeparms.R')
-rw-r--r--R/transform_odeparms.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/R/transform_odeparms.R b/R/transform_odeparms.R
index 31200c7..24de074 100644
--- a/R/transform_odeparms.R
+++ b/R/transform_odeparms.R
@@ -44,8 +44,8 @@ transform_odeparms <- function(parms, mod_vars,
}
}
- # Transform parameters also for FOMC, DFOP and HS models if requested
- for (pname in c("alpha", "beta", "k1", "k2", "tb")) {
+ # Transform rate and fraction parameters also for FOMC, DFOP and HS models if requested
+ for (pname in c("alpha", "beta", "k1", "k2")) {
if (!is.na(parms[pname])) {
transparms[pname] <- ifelse(transform_rates, log(parms[pname]), parms[pname])
transparms[pname] <- ifelse(transform_rates, log(parms[pname]), parms[pname])

Contact - Imprint