Description Usage Arguments Details Value Author(s) See Also
Modification of dynamicClusterApply
(snow-internal) to provide result of previous step.
1 2 | twDynamicClusterApplyDep(cl, fun, n, argfun, dependsStep, initVal = vector("list",
dependsStep), freeMasterNode = FALSE)
|
cl |
a function returning a list of arguments passed to fun |
fun |
|
n |
|
argfun |
|
dependsStep |
dependencies in 1..n |
initVal |
results presented to argfun for the first 1..dependsStep results |
freeMasterNode |
if set to TRUE, no job is submitted to node 1, so that this node can dispatch jobs without waiting |
argfun=function(i,prevRes) list( <args(i,prevRes)> )
provides arguments to fun where
index for which to generate arguments
result of FUN for case i-dependsStep.
can be assume that prevResList[[i-useNCpus]] has been evaluted already
dependsStep
same (snow-internal) dynamicClusterApply
Thomas Wutzler
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.