From mayursb at yahoo.com Mon Jan 16 08:29:36 2017 From: mayursb at yahoo.com (Mayur Betharia) Date: Mon, 16 Jan 2017 07:29:36 +0000 (UTC) Subject: [Traminer-users] TramineR Newbee References: <835532080.3960193.1484551776707.ref@mail.yahoo.com> Message-ID: <835532080.3960193.1484551776707@mail.yahoo.com> Hello, I have data in following format : Timestamp,Event1,RUNNING2,OPEN3,START A4,STOP A5,START A6,STOP A7,CLOSE8,OPEN9,START A10,STOP A11,START B12,STOP B13,CLOSE14,SHUTDOWN 15,RUNNING16,OPEN17,CLOSE18,SHUTDOWN I am not sure how do I assign the sequence IDs ? regards,Mayur -------------- next part -------------- An HTML attachment was scrubbed... URL: From mayursb at yahoo.com Fri Jan 20 15:36:19 2017 From: mayursb at yahoo.com (Mayur Betharia) Date: Fri, 20 Jan 2017 14:36:19 +0000 (UTC) Subject: [Traminer-users] Bug in TraMinerextras References: <2050674465.435535.1484922979278.ref@mail.yahoo.com> Message-ID: <2050674465.435535.1484922979278@mail.yahoo.com> Hi, When "TSE_to_STS" is used for a single sequence object, it throws error : Error in `rownames<-`(`*tmp*`, value = "1") :?? attempt to set 'rownames' on an object with no dimensions Sample: id ? time ?event 1 21 A1 22 B1 26 A1 31 B Problem appears to be in following line: sts <- sts[, tmin:tmax] This is converting single row matrix into vector. This R behavior is documented in :https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-do-my-matrices-lose-dimensions_003f | | | R FAQ R FAQ | | | This should be addressed. regards,Mayur -------------- next part -------------- An HTML attachment was scrubbed... URL: