aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-02-17 09:30:37 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2023-02-17 09:30:37 +0100
commitbeb8e5a107f8bacca5e6b956cc6847c661cd20b0 (patch)
tree20f2769107876bb11b2f2e2549e00499bb86d3ee /R
parent19861806ed790dc55380c64c6a5e27ba7ecd52de (diff)
parentc7cc91c47f9b074521fcaaa05a020525d719c2d9 (diff)
Merge remote-tracking branch 'origin/main' into faster_lsoda
Diffstat (limited to 'R')
-rw-r--r--R/mmkin.R7
1 files changed, 3 insertions, 4 deletions
diff --git a/R/mmkin.R b/R/mmkin.R
index 01e53290..e1537685 100644
--- a/R/mmkin.R
+++ b/R/mmkin.R
@@ -62,16 +62,15 @@
#' # allow to plot the observed variables separately
#' plot(fits.0[1, 1])
#'
-#' # On Windows, we can use multiple cores by making a cluster using the parallel
-#' # package, which gets loaded with mkin, and passing it to mmkin, e.g.
-#' cl <- makePSOCKcluster(12)
+#' # On Windows, we can use multiple cores by making a cluster first
+#' cl <- parallel::makePSOCKcluster(12)
#' f <- mmkin(c("SFO", "FOMC", "DFOP"),
#' list(A = FOCUS_2006_A, B = FOCUS_2006_B, C = FOCUS_2006_C, D = FOCUS_2006_D),
#' cluster = cl, quiet = TRUE)
#' print(f)
#' # We get false convergence for the FOMC fit to FOCUS_2006_A because this
#' # dataset is really SFO, and the FOMC fit is overparameterised
-#' stopCluster(cl)
+#' parallel::stopCluster(cl)
#' }
#'
#' @export mmkin

Contact - Imprint