make_kfold {vimp} | R Documentation |
Turn folds from 2K-fold cross-fitting into individual K-fold folds
Description
Turn folds from 2K-fold cross-fitting into individual K-fold folds
Usage
make_kfold(
cross_fitting_folds,
sample_splitting_folds = rep(1, length(unique(cross_fitting_folds))),
C = rep(1, length(cross_fitting_folds))
)
Arguments
cross_fitting_folds |
the vector of cross-fitting folds |
sample_splitting_folds |
the sample splitting folds |
C |
vector of whether or not we measured the observation in phase 2 |
Value
the two sets of testing folds for K-fold cross-fitting
[Package vimp version 2.3.3 Index]