LoslegenKostenlos loslegen

Frequency plots

In the context of Market Basket Analysis, plots are important to be able to have an appealing and informative output of the transactional dataset. In this exercise, you will plot the most frequent movies from the movie_trx dataset. In addition, you will as well visualize the least popular movies. It can be as interesting to know which movies are popular and which ones are not.

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.

# Plot the absolute item frequency plot
___(movie_trx,
                  type = "___",
                  topN = ___,
                  horiz = TRUE,
                  main = 'Absolute item frequency')
Code bearbeiten und ausführen