Could someone help ?
I am using the dummy package in R (function dummy) to convert a categorical variable(10 categories) into dummy variables because some of the algorithms I am using (adaboost and rotation forest), don't handle categorical variables well.
After using the package I get 10 dummy variables but they are factors. I expected them to be numeric with 1s and 0s.
Should I convert them to numeric ? or use them as factors.
thanks a lot !!!! all the best Pedro