I'm trying to understand how to use arules to do some association for work. I've got some dummy data and I've written this in R Studio as follows:
sales_list <- split(sales$ProductName, paste(sales$SalesOrderID))
My table sales contains 2 pieces of data - product name and the salesorder
However, when I've tried to split it out into a dataframe its turning into one big list. It just appears to be a list and I cant attempt to do any association rules on this.