Dear helpers
 
I want to use rpart several times in a loop to build a classification tree. My problem 
is that rpart needs a formula as argument and for that the variables need to have 
names and this doesn't happen in my case. Every iteration in the loop has a different 
dataset with several variables (ex. 38 or more) and so I can't type the names by hand 
every time. Is there any function that generates names for variables in a dataframe. 
If so, how can I use then the argument
 
rpart(classlabels~. ,.....)
 
thanks

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to