[R] Discretization of numeric attributes
Hans W. Borchers
borchers at decrc.abb.de
Tue May 7 09:58:15 CEST 2002
>
>rpart and tree, for example.
Yes, I know that recursive partitioning does some kind of splitting
numerical variables. I looked into 'rpart.chm', but could not identify a
function that I could call. What I would need is something like
discretize(num.var, some.factor, method="FayyadIrani, MDL, Kononenko, C45")
giving back a factor variable with selected intervals or splitting points
as names. Can I extract something similar from one of the packages rpart or
tree?
Thanks in advance, Hans Werner Borchers.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list