Get balanced folds for cross validation, which are used for tuning penalization parameters
1  balancedFolds(class.column.factor, cross.outer)

class.column.factor 
class labels of length n 
cross.outer 
number of folds 
permutated.cut 
vector of length n, indicating the fold belongs to 
model 
model list

Natalia Becker natalia.becker at dkfz.de
Sill M., Hielscher T., Becker N. and Zucknick M. (2014), c060: Extended Inference with Lasso and ElasticNet Regularized Cox and Generalized Linear Models, Journal of Statistical Software, Volume 62(5), pages 1–22. http://www.jstatsoft.org/v62/i05/
EPSGO
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.