Kfold {MLInterfaces} | R Documentation |
for given n, generate a K-fold partition of 1:n
Kfold(n, K=5)
n |
number of elements to be partitioned |
K |
number of partitions |
a vector of length n with elements 1:K, as balanced as possible, sorted increasing
Vince Carey <stvjc@channing.harvard.edu>
Kfold(23)