buildBlock {Bodi} | R Documentation |
Compute blocks of consecutive data for blockwise CV or sampling.
buildBlock(Nblock, data0)
Nblock |
number of blocks |
data0 |
the learning set |
A list of vectors containing the indices of each block.
Yannig Goude <yannig.goude@edf.fr>
buildBlock(4, data.frame(id = 1:15))