[R] arules package (apriori)

From: <soumaya_ben_hassine_at_voila.fr>
Date: Fri, 14 Mar 2008 12:01:23 +0100 (CET)


hello,
I want to perform the Apriori association rules algorithm to my data. The set of data contains missing values and consists in a combination of continuous and categorical variables. After discretizing the continuous variables, I wrote the following instruiction to perform Apriori, but I obtained the following error message:

> rules <- apriori(dd_new,parameter=list(supp=0.5, conf=0.9, target="rules"))
Erreur dans asMethod(object) :
  column(s)12345679101112131415162123242553not a factor

Does this have any relation with the missing values?

Thanks.

Cordially,

Soumaya



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 14 Mar 2008 - 11:49:01 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 14 Mar 2008 - 13:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive