aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-03-16 16:47:17 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2021-03-16 16:47:17 +0100
commitcb112e53163f9dc63d439dba50ca051877d67a79 (patch)
tree853e48bc938182e9e9ed5f14de8064f72dda3084
parentc73b2f30ec836c949885784ab576e814eb8070a9 (diff)
Convenience option to set nbiter.saemix
-rw-r--r--R/saem.R6
1 files changed, 5 insertions, 1 deletions
diff --git a/R/saem.R b/R/saem.R
index 460edede..184890f4 100644
--- a/R/saem.R
+++ b/R/saem.R
@@ -36,7 +36,9 @@ utils::globalVariables(c("predicted", "std"))
#' from the inverse of the Fisher Information Matrix be a failure?
#' @param quiet Should we suppress the messages saemix prints at the beginning
#' and the end of the optimisation process?
-#' @param control Passed to [saemix::saemix]
+#' @param nbiter.saemix Convenience option to increase the number of
+#' iterations
+#' @param control Passed to [saemix::saemix].
#' @param \dots Further parameters passed to [saemix::saemixModel].
#' @return An S3 object of class 'saem.mmkin', containing the fitted
#' [saemix::SaemixObject] as a list component named 'so'. The
@@ -115,7 +117,9 @@ saem.mmkin <- function(object,
test_log_parms = FALSE,
conf.level = 0.6,
solution_type = "auto",
+ nbiter.saemix = c(300, 100),
control = list(displayProgress = FALSE, print = FALSE,
+ nbiter.saemix = nbiter.saemix,
save = FALSE, save.graphs = FALSE),
fail_with_errors = TRUE,
verbose = FALSE, quiet = FALSE, ...)

Contact - Imprint