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

What's in the basket?

It's now time to see what you have in your basket! Imagine you are working with thousands of baskets, you may first want to be able to display all or part of the items of that same basket. Additionally, you would like to know how many of these items you have in your basket. In this exercise, you will plot the items of the basket you retrieved in the previous exercise, i.e. One_basket and discover what type of items are in the basket we chose earlier.

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.

# Plot the total number of items within the basket
ggplot(One_basket, aes(x = ___,
                       y = ___)) + 
       geom____() + coord_flip() + xlab("Items")
Kodu Düzenle ve Çalıştır