R Basket Analysis using arules package with unique order number but duplicate order combinations
问题 R Basket analysis using arules package with unique order number but duplicate order combinations Just learning R. I'm trying to do a basket analysis using the arules package (but I'm totally open to any other package suggestions!) to compare all possible combinations of 6 different item types being purchased. My original data set looked like this: OrderNo, ItemType, ItemCount 111, Health, 1 111, Leisure, 2 111, Sports, 1 222, Health, 3 333, Food, 7 333, Clothing, 1 444, Clothing, 2 444,