diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 18:19:09 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 18:19:09 +0100 |
commit | b0341af402271a1339308ba930c12530f62d4cf8 (patch) | |
tree | f25975420c46101833ed52d4a95fa7aed158a6b3 /R | |
parent | af82f9d1b263d43e7f22f0c8cfd1064a8f5a25e3 (diff) |
Add more tests and fix HS in saem
Diffstat (limited to 'R')
-rw-r--r-- | R/saem.R | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -269,7 +269,7 @@ saemix_model <- function(object, solution_type = "auto", transformations = c("mk k1 = exp(psi[id, 1]) odeini_fixed * ifelse(t <= tb, exp(- k1 * t), - exp(- k1 * t) * exp(- exp(psi[id, 2]) * (t - tb))) + exp(- k1 * tb) * exp(- exp(psi[id, 2]) * (t - tb))) } } } else { @@ -315,7 +315,7 @@ saemix_model <- function(object, solution_type = "auto", transformations = c("mk k1 = exp(psi[id, 2]) psi[id, 1] * ifelse(t <= tb, exp(- k1 * t), - exp(- k1 * t) * exp(- exp(psi[id, 3]) * (t - tb))) + exp(- k1 * tb) * exp(- exp(psi[id, 3]) * (t - tb))) } } } |