powered by
Compute blocks of consecutive data for blockwise CV or sampling.
buildBlock(Nblock, data0)
number of blocks
the learning set
A list of vectors containing the indices of each block.
# NOT RUN { buildBlock(4, data.frame(id = 1:15)) # }
Run the code above in your browser using DataLab