aboutsummaryrefslogtreecommitdiff
path: root/R/saem.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-11-13 10:32:45 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-11-13 10:32:45 +0100
commita5cc0d6d60084b9e74bf78a68184c8a96b9feb01 (patch)
tree821a8f8a8bcd6569a409f03ad67b3940e1f7c502 /R/saem.R
parent8d21c9966305627f9ea8599503fb3709ca916f9b (diff)
Annotation of the fix
Diffstat (limited to 'R/saem.R')
-rw-r--r--R/saem.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/saem.R b/R/saem.R
index 18152baf..408e62e8 100644
--- a/R/saem.R
+++ b/R/saem.R
@@ -332,7 +332,7 @@ saemix_model <- function(object, cores = 1, verbose = FALSE, ...) {
uid <- unique(id)
res_list <- parallel::mclapply(uid, function(i) {
- transparms_optim <- as.numeric(psi[i, ])
+ transparms_optim <- as.numeric(psi[i, ]) # psi[i, ] is a dataframe when called in saemix.predict
names(transparms_optim) <- names(degparms_optim)
odeini_optim <- transparms_optim[odeini_optim_parm_names]

Contact - Imprint