> result<-cspade(data.tran,parameter=list(support=0,maxlen=2)) Error in makebin(data, file) : 'sid' invalid (order)
原因:
Your error comes from the source file makebin
it's because your sequence identifiers are not in ascending order:
> result<-cspade(data.tran,parameter=list(support=0,maxlen=2)) Error in makebin(data, file) : 'eid' invalid (strict order)
原因:eid要求在每个seqid下无重复且严格排序
看下自己数据,去个重排个序
《R语言与网站分析》中例子