НачатьНачать бесплатно

Inspector retail

In the last exercise, you got a glimpse of your data by summarizing your transactional dataset. In this exercise, you will delve deeper by using the inspect() function. It is important to be able to inspect transactions and to limit the number of transactions being inspected if the number of transactions is too large. The transactional object Online_trx is loaded in your workspace. It is your turn to play with the inspection of the transactions. Beware that carelessly inspecting a set of million of transactions may lead to a freezing R session.

Это упражнение является частью курса

Market Basket Analysis in R

Посмотреть курс

Интерактивное практическое упражнение

Попробуйте выполнить это упражнение, дополнив этот пример кода.

# inspect first 3 transactions
___(___(Online_trx,3))

# inspect last 5 transactions
___(___(Online_trx,___))
Редактировать и запускать код