title: How can I create an Item Frequency Plot for association rule data? By converting to data frame or numeric?
body: <p>I have given the code that the rules are generated.I would like to create an item frequency histogram plot but ıt didn't work.   </p>
  
  <pre><code>library(arules)
  library(arulesViz)
  library(rattle)
  
  x &lt;- read.table("C:/Users/toshıba pc/Desktop/Kitap2.csv", header = TRUE, sep = ";")
  y &lt;- as.matrix(x)
  
  rules &lt;- apriori(y, parameter = list(supp = 0.1, conf = 0.8))
  
  itemFrequencyPlot(rules, support = 0.1, cex.names = 0.8)
  </code></pre>
  
  <blockquote>
    <p>Error in (function (classes, fdef, mtable)  : 
                unable to find an inherited method for function ‘itemFrequencyPlot’ for signature ‘"rules"’</p>
  </blockquote>