Association rules in R / Subset rules based on feature I tried using the apriori algorithm in the arules library for association rules mining in R. There's two thing I'd like to ask:

Why are the lhs and rhs of the rules in intervals? For example U get something like this
lhs : Variable1[0,4] - rhs : Variable2[0,3]

How can I subset the rules extracted for a certain variable? Say I want rules for Variable 1. How can I  subset the result to get rules containing that variable only?
I do not recall lhs or rhs having intervals. Can you share an example?
You can use the &quot;appearance&quot; parameter when calling apriori. You can find an example in the documentation of APappearance-class  of arules or at
http://r-statistics.co/Association-Mining-With-R.html under section &quot;How to Find Rules Related To Given Item/s&quot;