Hi everyone:
I am using Rattle version 3.1.2, when I tried to do some association analysis on dvdtrans.csv dataset.
I go to associate tab, when I click show rules button, I get below error:
Error in inspect(sort(crs$apriori, by = "support")) :
error in evaluating the argument 'x' in selecting a method for function 'inspect': Error in
sort.int(x, na.last = na.last, decreasing = decreasing, ...) :
unused argument (by = "support")
And the rules are not shown, however, when I click other buttons (e.g. plot, freq plot...), I am able to get the graph and stats...
Then, I tried inspect(crs$transactions), I get below error:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘inspect’ for signature ‘"NULL"’
Another problem I encountered is I am not able to load groceries: arules: groceries data set from library, I get below error:
Error in names(crs$dataset) <- gsub("-", ".", names(crs$dataset)) :
class 'transactions' has no 'names' slot
I have tried re-installed R, I also tried to copy the code generated from log tab and execute it, still no luck...
Any advise and help is appreciated.
best regards,
Fan