Displaying 1 result from an estimated 1 matches for "x2bin".
Did you mean:
2bin
2009 Jan 07
1
Question about the RWEKA package
...k values into k binary attributes through the NominalToBinary filter ("weka.filters.supervised.attribute.NominalToBinary"). But unfortunately I can`t apply the filter to my data.
Here is my code:
nombi <- make_Weka_filter("weka/filters/supervised/attribute/NominalToBinary")
x2bin <- nombi(data=dat, control =Weka_control(N=TRUE, A=TRUE))
I didn't get an error message, but it still don't work. My nominal attribute is of class "factor".
Maybe the problem has to do with the argument list.
Argument list:
(formula, data, subset, na.action, control = NULL)...