diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2023-02-13 21:20:38 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2023-02-13 21:20:38 +0100 |
commit | 9b5a04b645235b10fe574eb14f3e7c6717c43b5a (patch) | |
tree | 2276354d54ecd82c00c65ee57103dcd7b8066103 /R/mmkin.R | |
parent | 7ab05064a1f784e0288869d5cd7bd151bc739946 (diff) |
Update mmkin docs, parallel is not loaded any more
Diffstat (limited to 'R/mmkin.R')
-rw-r--r-- | R/mmkin.R | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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 |