Running R backend MySQL - ran a query
<- Query
the resulting dataframe contains 2 columns and both are chars.
Need to change the dataframe class to transaction class
as I need to run Apriori algorithm
how to do that?
Thanks
Santanu
[[alternative HTML version deleted]]
__
Hi,
I have R and MySQL at the backend. I have used dbGetQuery to get the rows I
want and put it in a data.frame rs2.
Now I want to use that data.frame to do market basket using apriori
it is giving me errors
Error in asMethod(object) : column(s) 1, 2 not logical or a factor.
Discretize the columns
2 matches
Mail list logo