Description Usage Arguments Value Author(s) See Also
Convert a fold to row indexes of fittdng or test set
| 1 2 3 | index_fit(fold, allow_oversample = TRUE)
index_test(fold)
 | 
| fold | A fold of a resampling scheme. | 
| allow_oversample | Whether or not to allow individual observation to exist in multiple copies in the training set. This is typically not the case, but can be used when a class is underrepresented in the data set. | 
An integer vector of row indexes.
Christofer Bäcklin
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.