aboutsummaryrefslogtreecommitdiff
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/mmkin.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/mmkin.R b/R/mmkin.R
index fe9db194..1e1c4a33 100644
--- a/R/mmkin.R
+++ b/R/mmkin.R
@@ -37,7 +37,7 @@ mmkin <- function(models = c("SFO", "FOMC", "DFOP"), datasets,
if (is.null(cluster)) {
results <- mclapply(as.list(1:n.fits), fit_function, mc.cores = cores)
} else {
- results <- parLapply(cluster, list(1:n.fit), fit_function)
+ results <- parLapply(cluster, as.list(1:n.fits), fit_function)
}
attributes(results) <- attributes(fit_indices)

Contact - Imprint