June 2017
Beginner to intermediate
576 pages
15h 22m
English
We are almost there! There is an extra step that we need to do in order to prepare our data for market basket analysis.
The association rules package requires that the data be in transaction format. Transactions can either be specified in two different formats:
Additionally, you can create the actual transaction file in two different ways, by either:
For smaller amounts of data, coercing the dataframe to a transaction file is simpler, ...