June 2017
Beginner to intermediate
576 pages
15h 22m
English
The Groceries is a transaction class object, not a dataframe. This R object represents transaction data used for mining item sets or rules. Logically, it is organized as a list of grocery receipts along with the items that were purchased together. Every individual line is referred to as a transaction and every column of the transaction represents a specific item purchased.
For example, here are three transactions consisting of a varying number of purchases:
|
Transaction 1 |
Milk |
Cereal |
|
|
Transaction 2 |
Beef |
||
|
Transaction 3 |
Butter |
Sugar |
Cream |
However, a transaction object is not physically organized in strict database table format. It is in a special R object format known as ...