split_foreach: split_foreach
Description
implements block foreach loop
Usage
split_foreach(FUN, ind, ..., .combine = NULL, ncores = 4, nb_split = ncores)
Arguments
FUN
is a function that is executed in the loop
...
are parameters of the function FUN
.combine
is a rule to combine the result
Value
The result of the FUN function