qtl_bin: Monotonic binning by quantile

Description Usage Arguments Value Examples

View source: R/qtl_bin.R

Description

The function qtl_bin implements the quantile-based monotonic binning by the iterative discretization

Usage

1
qtl_bin(x, y)

Arguments

x

A numeric vector

y

A numeric vector with 0/1 binary values

Value

A list of binning outcomes, including a numeric vector with cut points and a dataframe with binning summary

Examples

1
2
data(hmeq)
qtl_bin(hmeq$DEROG, hmeq$BAD)

mob documentation built on July 31, 2021, 9:06 a.m.

Related to qtl_bin in mob...