I am using the R package arulesSequences and would like to find the average gap (in days) between consecutive events for each temporal rule, e.g. for a rule such as
&