aboutsummaryrefslogtreecommitdiff
path: root/R/parms.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-12-07 16:19:54 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-12-07 16:19:54 +0100
commit904ba9668eb76eaae4960e2188134e8c88da07ee (patch)
tree31498997575ebcc7544d81a71f991bf127be3a41 /R/parms.R
parent97f71fc3d086bd447ab3e4d19abf32bb3114085b (diff)
Fix parplot for the case of failed multistart runs
Diffstat (limited to 'R/parms.R')
-rw-r--r--R/parms.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/parms.R b/R/parms.R
index bd4e479b..bb04a570 100644
--- a/R/parms.R
+++ b/R/parms.R
@@ -77,6 +77,6 @@ parms.multistart <- function(object, exclude_failed = TRUE, ...) {
successful <- which(!is.na(res[, 1]))
first_success <- successful[1]
colnames(res) <- names(parms(object[[first_success]]))
- if (exclude_failed) res <- res[successful, ]
+ if (exclude_failed[1]) res <- res[successful, ]
return(res)
}

Contact - Imprint