foldset: Fold Assignment for Cross-Validation
Description
background function to load
Usage
foldset(sizer, nfold, balance = NA)
Arguments
- sizer
number of observations in dataset.
- nfold
number of outer folds needed.
- balance
Optional vector of a categorical covariate to stratify fold assignment