The function partitions a data set into k folds of equal sizes at random.
Number of folds
This function is internal and used by cross validation routines.
A matrix with fold identification in first column.
B N Mandal and Jun Ma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.