I am running the formula that is given below in R
rules <- apriori(B4_Temp,
parameter = list(minlen=2, supp=0.001, conf=0.6,target="rules"),
appearance = list(rhs=c("Location Info=Level1"),default="lhs"),
control = list(verbose=F))
I am getting this error as:
Error in asMethod(object) :
Location Info=Level1 is an unknown item label,
Location Info=Entrance is an unknown item label
But I have those values in the data set. What is the problem?