| fold_from_foldvec | R Documentation | 
For V-fold type cross-validation. This takes a fold vector (validation set IDs) and builds a fold object for fold V.
fold_from_foldvec(v, folds)
| v | An identifier of the fold in which observations fall for cross-validation. | 
| folds | A vector of the fold status for each observation for cross-validation. | 
Other fold generation functions: 
fold_funs,
folds2foldvec(),
make_folds(),
make_repeated_folds()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.