View source: R/crossValidation.R
foldsComposition | R Documentation |
Randomly partitioning the data into folders
foldsComposition(n, K)
n |
number of observations |
K |
number of classes |
a vector v
of length n
with v[i]
= the class of observation
i
.
D. Dupuy
crossValidation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.