View source: R/dlcv_function.R
createFolds | R Documentation |
Create K number of grouped folds with a group and strata parameters
createFolds(x, k, group, strata, seed = 42)
x |
data including outcome (strata) and group column |
k |
number of folds |
group |
group parameter |
strata |
strata parameter |
seed |
seed value |
Version 1.0 2022-02-15
A rsample object with folds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.