library(arules)
library(arulesViz)
library(RColorBrewer)
trans = read.transactions("https://raw.githubusercontent.com/tempAcccc/temRepo/main/TempFile.csv",format="basket", sep = ",",cols = c(1))
rule1 <- apriori(trans, parameter = list(support = 0.004,conf=0.05,target="rules"))
plot(rule1, measure=c("support", "confidence"),shading="order",col = brewer.pal(4,"Spectral"),main="Rules with Min_sup=0.004 and Min_conf=0.05")
This code generates .
I want to change the part where it says order to "iterations" how can I do this?