Provides summary statistics on the sizes of selfloops at the level of activity types, cases, traces or log. A selfloop of size x refers to the occurrence of x consecutive events of that activity type.
size_of_selfloops(eventlog, type, level_of_analysis, raw = F)
The event log to be used. An object of class
eventlog
.
Type of selfloops. I.e. repeat or redo
At which level the analysis of selfloops should be performed: log, case, activity, resource, resource activity.
Return raw data (only applicable for log level)