kfoldcv.RdComputes feasible sample sizes for the k groups in k-fold cv if N/k is not an integer.
kfoldcv(k, N, nlevel=NULL)If N/k is not an integer, k-fold cv is not unique. Determine meaningful sample sizes.
A vector of length k.
# 10-fold CV with N = 91
kfoldcv(10, 91)
#> [1] 10 9 9 9 9 9 9 9 9 9