aboutsummaryrefslogtreecommitdiff
path: root/man/multistart.Rd
diff options
context:
space:
mode:
Diffstat (limited to 'man/multistart.Rd')
-rw-r--r--man/multistart.Rd7
1 files changed, 3 insertions, 4 deletions
diff --git a/man/multistart.Rd b/man/multistart.Rd
index 5a5f7b44..0df29bfa 100644
--- a/man/multistart.Rd
+++ b/man/multistart.Rd
@@ -82,13 +82,12 @@ illparms(f_saem_full)
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)
-parplot(f_saem_reduced_multi, lpos = "topright")
+parplot(f_saem_reduced_multi, lpos = "topright", ylim = c(0.5, 2))
stopCluster(cl)
}
}

Contact - Imprint