balanced_folds: Get indices of a fold of data that balances the distribution...

balanced_foldsR Documentation

Get indices of a fold of data that balances the distribution of values.

Description

This was written by Joel Parker.

Usage

balanced_folds(y, nfolds = 3)

Arguments

y

Vector to balance

nfolds

Integer to indicate the number of folds in which to split the data


Benjamin-Vincent-Lab/binfotron documentation built on Oct. 1, 2024, 8:33 p.m.