Your error comes from the source file makebin it's because your sequence identifiers are not in ascending order:
// check if the sequence and event/time // identifiers are in ascending order and // determine the number of sequences. ns = l = h = 0; for (i = 0; i < LENGTH(sx); i++) { if ((k = INTEGER(sx)[i]) < l) error("'sid' invalid"); ----- Yasir Kaheil -- View this message in context: http://r.789695.n4.nabble.com/info-about-R-arulesSequences-tp4635949p4636161.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.