[R] How to get rule number in arules

Hans W. Borchers hwborchers at googlemail.com
Thu Jul 24 19:48:07 CEST 2008


As always, 'str(rules)' will provide you with a view on the internal
structure of 'rules'. By the way, 'rules' is of class 'rules', see the
"rules-class" entry in the ARULES help pages, with more explanations on the
meaning of attributes.

For example, 'rules at quality' will show support, confidence, and lift of all
generated rules in sequence. 

Hans Werner Borchers
ABB Corporate Research



Daniel Wagner-7 wrote:
> 
> Dear R experts
> 
> I generated rules using apriori method in arules package. Though I can
> access rules using %in% function but I am unable to access a specific rule
> by its unique identifier number. I want to use rule number for further
> analysis..
> 
> Thanking you in advance.
> 
> Daniel
> Amsterdam
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-rule-number-in-arules-tp18629019p18637087.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list