我正在运行下面在 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))
我收到此错误为:
Error in asMethod(object) :
Location Info=Level1 is an unknown item label,
Location Info=Entrance is an unknown item label
但我在数据集中有这些值。问题是什么?