Answered You can hire a professional tutor to get the answer.

QUESTION

How to write R Markdown for this question: First, install the package arules Second, load the data set using the following command grd lt;-...

How to write R Markdown for this question:

  • First, install the package arules
  • Second, load the data set using the following command
  • grd <- read.transactions("http://fimi.ua.ac.be/data/retail.dat", format="basket")
  • Third, run the following commands and interpret the results
  • itemFrequencyPlot(grd,support=.1) #run with support .2, .3, & .5
  • summary(grd)
  • inspect(grd) #you will have to stop the listing manually
  • Create the rules object using apriori
  • grdar <- apriori(grd,parameter=list(supp=.05,conf=.5))
  • inspect(grdar)
  • Find a few interesting rules
  • Tell me something you learned from interpreting the rules
  • Show all your steps (especially in data conversion) using knitR
Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question