aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-11-08 03:19:16 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-11-08 03:30:22 +0100
commitd452a367d517938a6cd350383e890ed1138d2170 (patch)
tree1d55f433849b55f897b68a6c2da2bcf0fe88ddec /R
parent1c647363430e0db732c23feebe4293dc48978608 (diff)
The call to saemix.predict fails with DFOP-SFO
Diffstat (limited to 'R')
-rw-r--r--R/saemix.R6
1 files changed, 3 insertions, 3 deletions
diff --git a/R/saemix.R b/R/saemix.R
index 090f0017..a038666e 100644
--- a/R/saemix.R
+++ b/R/saemix.R
@@ -83,14 +83,14 @@ saem.mmkin <- function(object,
}
fit_time <- system.time({
f_saemix <- saemix::saemix(m_saemix, d_saemix, control)
- f_saemix <- saemix::saemix.predict(f_saemix)
+ f_saemix <- try(saemix::saemix.predict(f_saemix), silent = TRUE)
})
if (suppressPlot) {
grDevices::dev.off()
unlink(tmp)
}
- transparms_optim = f_saemix@results@fixed.effects
- names(transparms_optim) = f_saemix@results@name.fixed
+ transparms_optim <- f_saemix@results@fixed.effects
+ names(transparms_optim) <- f_saemix@results@name.fixed
bparms_optim <- backtransform_odeparms(transparms_optim,
object[[1]]$mkinmod,
object[[1]]$transform_rates,

Contact - Imprint