split_foreach: split_foreach

Description Usage Arguments Value

View source: R/Sketch.R

Description

implements block foreach loop

Usage

1
split_foreach(FUN, ind, ..., .combine = NULL, ncores = 4, nb_split = ncores)

Arguments

FUN

is a function that is executed in the loop

ind

is a index vector

...

are parameters of the function FUN

.combine

is a rule to combine the result

ncores

is a nuber of cores

nb_split

is a nuber of splits

Value

The result of the FUN function


chickn documentation built on Jan. 13, 2021, 10:53 p.m.

Related to split_foreach in chickn...