diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2014-04-25 18:43:51 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2014-04-25 18:43:51 +0200 |
commit | 59e2c3b5ce470ace53b93ad5e6e7d9acbfe86f21 (patch) | |
tree | 5490c341f3883dec43553d338c89f4c9818aba3d /R/transform_odeparms.R | |
parent | a2f772990127891f9596b79771832bc23777a89a (diff) |
McCall 2,4,5-T dataset, lower bound for transform_rates=FALSE
Diffstat (limited to 'R/transform_odeparms.R')
-rw-r--r-- | R/transform_odeparms.R | 4 |
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])
|