batch_bin: Apply monotonic binning to all vectors in dataframe
Description
The function batch_bin applies multiple binning algorithms in
batch to each vector in the dataframe.
Usage
batch_bin(y, xs, method = 1)
Arguments
y
A numeric vector with 0/1 binary values.
xs
A dataframe with numeric vectors to discretize.
method
A integer from 1 to 7 referring to implementations below:
1. Implementation of iso_bin() 2. Implementation of qtl_bin()
3. Implementation of bad_bin() 4. Implementation of rng_bin()
5. Implementation of gbm_bin() 6. Implementation of kmn_bin()
7. Implementation of arb_bin()
Value
A list of binning outcomes with 2 dataframes:
bin_sum: A dataframe of binning summary.
bin_out: A list of binning output from binning functions,
e.g. qtl_bin().