setReduce: Apply reduce function on a group of iterations of the foreach loop together per task.
Description
Apply reduce function on a group of iterations of the foreach loop together per task.
Usage
setReduce(fun = NULL, ...)
Arguments
fun
The number of iterations to group
...
The arguments needed for the reduction function