[R] Event sequence analysis

Hans W. Borchers hwborchers at gmail.com
Tue Feb 3 09:54:36 CET 2009

Jean-Pierre Müller <jean-pierre.mueller <at> unil.ch> writes:

> Maybe TraMineR ? http://mephisto.unige.ch/traminer
> HTH,

Thanks for pointing out TraMineR; it is a very interesting package on 
sequences of events and states in social science. Unfortunately, it 
appears not provide the kind of windowing or counting of subsequences 
that I was asking for. 

Therefore, I am still looking for implementations of procedures for 
event sequence analysis as provided in some data mining tools and 
applications, see for example the article cited below. 

Any help would be very much appreciated.

Thanks, Hans Werner Borchers

Le 2 févr. 09 à 13:31, Hans W. Borchers a écrit :
Dear R help,

I am analyzing sequences of events described by time and a unique event 
tag. And I am searching for recurring patterns where patterns have to 
show up in a certain time window, e.g. 5 or 10 minutes. Of course, 
inbetween these events other events may occur. 

I have applied basket analysis approaches like apriori or 'frequent item 
set' algorithms with interesting results but these methods do not take 
into account the exact succession of events. I also looked into the 
'Generalized Sequential Pattern' function of Weka, but the 
implementation in Weka does not allow for a time window (as far as I 

Are there other sequence analysis implementations available in R? -- 
For instance in the realm of the 1997 paper "Discovery of frequent 
episodes in event sequences" by H. Mannila et al. 

Please no BioConductor hints as they are meaning something different 
with (genetic) sequence analysis. 

Very best,  Hans Werner

More information about the R-help mailing list