d <- partition(mtcars, .breaks = 2)
rules <- dig_associations(d,
antecedent = everything(),
consequent = everything(),
min_support = 0.3)
association_matrix(rules, confidence)
Run the code above in your browser using DataLab