View the step-by-step solution to:

I need some tips on how to do this by using R studio First, install the package arules Second, load the data set using the following command grd...

I need some tips on how to do this by using R studio


  • 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

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question