aboutsummaryrefslogtreecommitdiff
path: root/R/saem.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/saem.R')
-rw-r--r--R/saem.R3
1 files changed, 2 insertions, 1 deletions
diff --git a/R/saem.R b/R/saem.R
index e980ed1f..696ea0ee 100644
--- a/R/saem.R
+++ b/R/saem.R
@@ -14,6 +14,7 @@ utils::globalVariables(c("predicted", "std"))
#' using [mmkin].
#'
#' @importFrom utils packageVersion
+#' @importFrom saemix saemix
#' @param object An [mmkin] row object containing several fits of the same
#' [mkinmod] model to different datasets
#' @param verbose Should we print information about created objects of
@@ -175,7 +176,7 @@ saem.mmkin <- function(object,
fit_failed <- FALSE
FIM_failed <- NULL
fit_time <- system.time({
- utils::capture.output(f_saemix <- try(saemix::saemix(m_saemix, d_saemix, control)), split = !quiet)
+ utils::capture.output(f_saemix <- try(saemix(m_saemix, d_saemix, control)), split = !quiet)
if (inherits(f_saemix, "try-error")) fit_failed <- TRUE
})

Contact - Imprint