LoslegenKostenlos loslegen

Playing with graphs

In the previous set of exercises, the set of extracted rules was displayed either as a table or as a two-dimensional plot (either static or interactive). Let us now try a more interesting way of displaying rules. Generating a graph from a set of rules is probably the most convenient and useful way to have a graphical representation of the set of extracted rules. They allow you to have a clear overview of the different types of associations between items. In the following exercises, you will use rules_online to create graphs.

Diese Übung ist Teil des Kurses

Market Basket Analysis in R

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Create a HTML widget of the graph of rules
plot(rules_online,
     method = "___",
     ___ = "___")
Code bearbeiten und ausführen