make_kfold | R Documentation |
Turn folds from 2K-fold cross-fitting into individual K-fold folds
make_kfold(
cross_fitting_folds,
sample_splitting_folds = rep(1, length(unique(cross_fitting_folds))),
C = rep(1, length(cross_fitting_folds))
)
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 |
the two sets of testing folds for K-fold cross-fitting
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.