I'm trying to discretize 274 columns in a table and run naive bayes and decision tree algorithms. How can you discretize many columns at once? My variable smalltrainv3 contains 275 columns, with the first being a factor (levels 0-9) and the being numeric.
Whenever I try to use the discretize function it tells me x must be numeric.