diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2022-09-13 09:27:42 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-09-13 09:27:42 +0200 |
commit | 569a5790c2f8cca4dc6d8c5a53bd3b7a9f65441f (patch) | |
tree | 38591f104527a1570dc25af0769444398c4395bb /R | |
parent | cba325aa66d36e210499b42a9761e3e90fc3d5fe (diff) |
More work on multistart
Diffstat (limited to 'R')
-rw-r--r-- | R/multistart.R | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/R/multistart.R b/R/multistart.R index fb31d002..a3afa08b 100644 --- a/R/multistart.R +++ b/R/multistart.R @@ -39,6 +39,7 @@ multistart.saem.mmkin <- function(object, n = 50, cores = 1, ...) { res <- parallel::mclapply(1:n, function(x) { update(object, degparms_start = start_parms[x, ], ...) }, mc.cores = cores) + attr(res, "start_parms") <- start_parms class(res) <- c("multistart.saem.mmkin", "multistart") return(res) } |