diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-06-25 11:39:20 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-06-25 11:43:49 +0200 |
commit | e9931e61c253eb9379864b0a4dc7e37e39b6738d (patch) | |
tree | 9201c07c9c4309901c174e9f791043da9a93d6a0 /R | |
parent | 2d4a28c504f05278f2ddbf39fcad14eff16f15ef (diff) |
Fix fitting with parLapply, doc fix
Diffstat (limited to 'R')
-rw-r--r-- | R/mmkin.R | 2 |
1 files changed, 1 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) |