discretize: Discretize database via topdown greedy approach. Based on...

Description Usage Arguments Value

View source: R/discretize.R

Description

Discretize database via topdown greedy approach. Based on discretization package created by HyunJi Kim.

Usage

1
discretize(db, meth = 4, alpha = 0.05, n = 30)

Arguments

db

database to discretize (data.frame)

meth

measures of associations available 1. Caim 2. Cacc 3. Ameva 4. Info. Statistics 5. Kendall's Tau-C (numeric)

alpha

Penalization to limit number of categories. Only for methods 4 and 5. (numeric)

n

Desired Number of observations per Quantile.

Value

list with discretized data, vector of quantile cutpoints and the supervised method cutpoints.


diegomattozo/categorization documentation built on Sept. 26, 2020, 3:42 p.m.