diff options
-rw-r--r-- | R/mmkin.R | 2 | ||||
-rw-r--r-- | man/mmkin.Rd | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -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) diff --git a/man/mmkin.Rd b/man/mmkin.Rd index 64e7ae27..0b35738a 100644 --- a/man/mmkin.Rd +++ b/man/mmkin.Rd @@ -61,4 +61,5 @@ time_1 endpoints(fits[["SFO_lin", 2]]) } +} \keyword{ optimize } |