aboutsummaryrefslogtreecommitdiff
path: root/man/mmkin.Rd
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2023-02-17 14:44:29 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2023-02-17 14:44:29 +0100
commitd5ff53448c61134c46cc4df9ea88fd86fa376d66 (patch)
tree2332224ea61fd28e58e9e9ff07a414da59df5bff /man/mmkin.Rd
parent84e67cd33bc9c47ae4b111873ffe39fed910d3d4 (diff)
Finish adapting to upcoming deSolve
Diffstat (limited to 'man/mmkin.Rd')
-rw-r--r--man/mmkin.Rd7
1 files changed, 3 insertions, 4 deletions
diff --git a/man/mmkin.Rd b/man/mmkin.Rd
index 309761dd..438a237b 100644
--- a/man/mmkin.Rd
+++ b/man/mmkin.Rd
@@ -83,16 +83,15 @@ plot_sep(fits.0[[1, 1]])
# 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)
}
}

Contact - Imprint