Create Folds for Cross-Fitting
make_folds(y, V = 2, stratified = FALSE, C = NULL, probs = rep(1/V, V))
the outcome
the number of folds
should the folds be stratified based on the outcome?
a vector indicating whether or not the observation is fully observed; 1 denotes yes, 0 denotes no
vector of proportions for each fold number
a vector of folds