Session Ready
Exercise

Scatterplots

Scatterplots are one of the most used kind of plots to show the set of extracted rules. In this exercise, you will see how to build a meaningful graphical representation of association rules. In the previous chapter, you extracted rules from the online Retail dataset. The rules rules_online are saved in the workspace. In this exercise, you will see how to create a HTML table widget with the inspectDT() function of the arulesViz package. This will enable to quickly browse and sort tables.

Instructions 1/4
undefined XP
  • 1
    • Remind yourself of the rules by creating an interactive data table of rules_online.
    • 2
      • Create a standard scatter plot for the rules_online.
    • 3
      • Create a scatter plot with as measure confidence and lift on the x and y axis respectively. Add the support as a legend.
    • 4
      • In the last plots, jittering was automatically done. You want to configure it yourself by setting the parameter to 2.