buildBlock {Bodi} | R Documentation |
buildBlock
Description
Compute blocks of consecutive data for blockwise CV or sampling.
Usage
buildBlock(Nblock, data0)
Arguments
Nblock |
number of blocks |
data0 |
the learning set |
Value
A list of vectors containing the indices of each block.
Author(s)
Yannig Goude <yannig.goude@edf.fr>
Examples
buildBlock(4, data.frame(id = 1:15))
[Package Bodi version 0.1.0 Index]