disc.ew {dprep} | R Documentation |
Unsupervised discretization using intervals of equal width. The widths are computed using Scott's formula.
disc.ew(data, varcon)
data |
The name of the dataset containing the attributes to be discretized |
varcon |
A vector containing the indexes of the attributes to be discretized |
Returns a new data matrix with discretized values.
Edgar Acuna
Venables, W.N., and Ripley, B.D. (2002). Modern Applied Statistics with S. Fourth edition, Springer
disc.ef
, disc.1r
,chiMerge
,disc.mentr
#----Discretization using the equal frequency method data(bupa) bupa.disc.ew=disc.ew(bupa,1:6)