From 679cf716192cdfd91dfd232578cbd4e30d7eac12 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 15 Nov 2022 08:01:52 +0100 Subject: Import saemix for easier profiling, update online docs --- R/saem.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'R') 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 }) -- cgit v1.2.1