Rdocumentation
powered by
Learn R Programming
hierband (version 1.0)
MakeFolds: Make folds for cross validation
Description
Divides the indices
1:n
into
nfolds
random folds of about the same size.
Usage
MakeFolds(n, nfolds)
Arguments
n
sample size
nfolds
number of folds