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 ���䣺liuguox...@made-in-china.com [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.