From 004fce2520d6889d82226e21bc443426e81d93f2 Mon Sep 17 00:00:00 2001
From: Johannes Ranke
Date: Mon, 17 Apr 2023 19:39:09 +0200
Subject: Improve docs of multistart method
---
docs/dev/reference/Rplot001.png | Bin 13993 -> 20512 bytes
docs/dev/reference/Rplot002.png | Bin 13470 -> 16766 bytes
docs/dev/reference/index.html | 5 -----
docs/dev/reference/mkinpredict.html | 9 +++++----
docs/dev/reference/multistart-1.png | Bin 66388 -> 63843 bytes
docs/dev/reference/multistart-2.png | Bin 56780 -> 52220 bytes
docs/dev/reference/multistart.html | 10 ++++------
7 files changed, 9 insertions(+), 15 deletions(-)
(limited to 'docs/dev/reference')
diff --git a/docs/dev/reference/Rplot001.png b/docs/dev/reference/Rplot001.png
index 5de2bdc7..278fd2e2 100644
Binary files a/docs/dev/reference/Rplot001.png and b/docs/dev/reference/Rplot001.png differ
diff --git a/docs/dev/reference/Rplot002.png b/docs/dev/reference/Rplot002.png
index 556ca0a7..4b646f22 100644
Binary files a/docs/dev/reference/Rplot002.png and b/docs/dev/reference/Rplot002.png differ
diff --git a/docs/dev/reference/index.html b/docs/dev/reference/index.html
index 84bbbdc4..85dc7c6e 100644
--- a/docs/dev/reference/index.html
+++ b/docs/dev/reference/index.html
@@ -81,11 +81,6 @@
Example evaluation of NAFTA SOP Attachment examples
-
-
-
-
-
News
diff --git a/docs/dev/reference/mkinpredict.html b/docs/dev/reference/mkinpredict.html
index 01c15a19..7d8e7c26 100644
--- a/docs/dev/reference/mkinpredict.html
+++ b/docs/dev/reference/mkinpredict.html
@@ -394,11 +394,12 @@ as these always return mapped output.
c(parent = 100, m1 = 0), seq(0, 20, by = 0.1),
solution_type = "analytical", use_compiled = FALSE)[201,])
}
+#> Loading required package: rbenchmark
#> test relative elapsed
-#> 2 deSolve_compiled 1.0 0.002
-#> 4 analytical 1.0 0.002
-#> 1 eigen 4.0 0.008
-#> 3 deSolve 30.5 0.061
+#> 2 deSolve_compiled 1.00 0.004
+#> 1 eigen 4.00 0.016
+#> 4 analytical 4.25 0.017
+#> 3 deSolve 40.75 0.163
# \dontrun{
# Predict from a fitted model
diff --git a/docs/dev/reference/multistart-1.png b/docs/dev/reference/multistart-1.png
index c7937d67..ee0306d6 100644
Binary files a/docs/dev/reference/multistart-1.png and b/docs/dev/reference/multistart-1.png differ
diff --git a/docs/dev/reference/multistart-2.png b/docs/dev/reference/multistart-2.png
index e1983f12..69a178e3 100644
Binary files a/docs/dev/reference/multistart-2.png and b/docs/dev/reference/multistart-2.png differ
diff --git a/docs/dev/reference/multistart.html b/docs/dev/reference/multistart.html
index 3cdede7b..36767560 100644
--- a/docs/dev/reference/multistart.html
+++ b/docs/dev/reference/multistart.html
@@ -222,15 +222,13 @@ doi: 10.1186/s12859-021-04373-4.
f_saem_reduced <- update(f_saem_full, no_random_effect = "log_k2")
illparms(f_saem_reduced)
-# On Windows, we need to create a cluster first. When working with
-# such a cluster, we need to export the mmkin object to the cluster
-# nodes, as it is referred to when updating the saem object on the nodes.
+# On Windows, we need to create a PSOCK cluster first and refer to it
+# in the call to multistart()
library(parallel)
cl <- makePSOCKcluster(12)
f_saem_reduced_multi <- multistart(f_saem_reduced, n = 16, cluster = cl)
-#> Error in checkForRemoteErrors(val): 16 nodes produced errors; first error: unused argument (mc.preschedule = FALSE)
-parplot(f_saem_reduced_multi, lpos = "topright")
-#> Error in parplot(f_saem_reduced_multi, lpos = "topright"): object 'f_saem_reduced_multi' not found
+parplot(f_saem_reduced_multi, lpos = "topright", ylim = c(0.5, 2))
+
stopCluster(cl)
# }
--
cgit v1.2.1