View source: R/cross_validation_functions.R
cv.folds | R Documentation |
Cross-validation folds.
cv.folds(n, folds = 10)
n |
number of observations. |
folds |
number of folds. |
Cross-validation folds.
a list containing the observation numbers for each fold.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.