liuguoxiao at made-in-china.com
2016-Mar-09 02:15 UTC
[R] Error en makebin(data, file) : 'sid' invalid
recently I began to use the package "arulesSequences" but the algorithm cspade give me this error: Error en makebin(data, file) : 'sid' invalid when I did executed this script,> data<-read.table("E:/zaki.txt",header=TRUE,sep=',')data : "seqid","eventid","page" "1","1","2211" "1","2","2488" "1","3","2239" "2","1","2240" "2","2","2488" "2","3","231" "2","4","2461"> page<-factor(data$page) > seqid<-as.integer(data$seqid) > eventid<-as.integer(data$eventid) > data<-data.frame(page=page) > data.tran<-as(data,"transactions") > transactionInfo(data.tran)$sequenceID<-seqid > transactionInfo(data.tran)$eventID<-eventid > transactionInfo(data.tran) >result<cspade(data.tran,parameter=list(support=0,maxlen=2),control=list(verbose=TRUE))?? preprocessing ...Error in makebin(data, file) : 'eid' invalid (strict order) ???????????????????? Focus Technology Co., Ltd. MIC?????? ?????? ?????? ==============================??????025-66677777-7505 ??????liuguoxiao at made-in-china.com [[alternative HTML version deleted]]