Description Usage Arguments Value Examples
Assigns samples to cross-validation folds, balancing the folds in the case of a binary or survival response.
1 |
y |
response: vector of length n |
nfolds |
number of folds: positive integer (>= 10 recommended) |
foldid |
fold identifiers:
vector of length n,
with entries from 1 to |
Returns the fold identifiers.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.