aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-11-15 08:01:52 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-11-15 08:01:52 +0100
commit679cf716192cdfd91dfd232578cbd4e30d7eac12 (patch)
tree24dce01d75cd0dce7d2605ec600e0bcc49cf6ef5 /R
parent2b16f6cc5aae9a57362db2add0e3263c65afc7e2 (diff)
Import saemix for easier profiling, update online docs
Diffstat (limited to '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