5

I have installed the packages arules. How can I view the built-in dataset as usual?

I tried:

library(arules)
data(Groceries)
Groceries

While it only offer me:

transactions in sparse format with
 9835 transactions (rows) and
 169 items (columns)

What is sparse format?

Thomas
  • 43,637
  • 12
  • 109
  • 140
useR
  • 3,062
  • 10
  • 51
  • 66

1 Answers1

5
inspect(Adult)
inspect(Adult[1:10,1:10])

inspect(Groceries)
Troy
  • 8,581
  • 29
  • 32