diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-10-29 00:36:22 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-10-29 00:36:22 +0200 |
commit | 59566e315c5d05a0aa4a46ab80c5fda33c5c2f1e (patch) | |
tree | 91eb7671c50b2b5563a58344723304d159524f6d /R | |
parent | f820bf5b91be0f589de16c3e3250f5f79672df75 (diff) |
Update multistart docs
Diffstat (limited to 'R')
-rw-r--r-- | R/multistart.R | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/R/multistart.R b/R/multistart.R index 14683c11..61ef43dc 100644 --- a/R/multistart.R +++ b/R/multistart.R @@ -40,7 +40,7 @@ #' f_mmkin <- mmkin("DFOP", dmta_ds, error_model = "tc", cores = 7, quiet = TRUE) #' f_saem_full <- saem(f_mmkin) #' f_saem_full_multi <- multistart(f_saem_full, n = 16, cores = 16) -#' parplot(f_saem_full_multi, lpos = "bottomleft") +#' parplot(f_saem_full_multi, lpos = "topleft") #' illparms(f_saem_full) #' #' f_saem_reduced <- update(f_saem_full, no_random_effect = "log_k2") @@ -50,9 +50,9 @@ #' # nodes, as it is referred to when updating the saem object on the nodes. #' library(parallel) #' cl <- makePSOCKcluster(12) -#' clusterExport(cl, "f_mmkin") #' f_saem_reduced_multi <- multistart(f_saem_reduced, n = 16, cluster = cl) #' parplot(f_saem_reduced_multi, lpos = "topright") +#' stopCluster(cl) #' } multistart <- function(object, n = 50, cores = if (Sys.info()["sysname"] == "Windows") 1 else parallel::detectCores(), |