[R] Discretize data.frame

From: Andrej Kastrin <andrej.kastrin_at_siol.net>
Date: Wed 12 Jul 2006 - 21:25:48 EST


Dear useRs,

I use dics.ef function from dprep package to discretize continuous variable using intervals of equal frequencies. Dataset to be discretized include 4 continuous and 2 discrete variables in the following order:

Continuous Countinuous Countinuous Discrete Discrete Continuous

The problem emerge when I try to discretize the last continuos variable:

library(dprep)
dics.ef(my.dataframe, 1:6,5) ## all 6 variables in data.frame

I have no further idea why the function above don't work on the last variable in dataframe.

Thanks in advance for any further notes,

Andrej



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Jul 12 21:26:52 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 12 Jul 2006 - 22:17:51 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.