iso_bin: Monotonic binning based on isotonic regression

Description Usage Arguments Value Examples

View source: R/iso_bin.R

Description

The function iso_bin implements the monotonic binning based on the isotonic regression.

Usage

1
iso_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)
iso_bin(hmeq$DEROG, hmeq$BAD)

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

Related to iso_bin in mob...