BaşlayınÜcretsiz Başlayın

What's in the basket?

It's important at this point in time to be able to visualize what's in the basket. Data frames are nice and easy to work with but you would rather have a plot to display the different items that are included in your baskets, or at least a part of these items.

The transactional object Online_trx is loaded in the workspace. You will use the itemFrequencyPlot() function from the arules package to visually inspect the top most bought products from these set of transactions and find the most convenient plot.

Bu egzersiz

Market Basket Analysis in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Display the five most popular items
itemFrequencyPlot(___, 
                  ___ = 5)
Kodu Düzenle ve Çalıştır