Capture the output of arules::inspect as data.frame
问题 In "Zero frequent items" when using the eclat to mine frequent itemsets, the OP is interested in the groupings/clusterings based on how frequent they are ordered together. This grouping can be inspected by the arules::inspect function. library(arules) dataset <- read.transactions("8GbjnHK2.txt", sep = ";", rm.duplicates = TRUE) f <- eclat(dataset, parameter = list( supp = 0.001, maxlen = 17, tidLists = TRUE)) inspect(head(sort(f, by = "support"), 10)) The data set can be downloaded from https