Provides summary statistics on the sizes of repetitions 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_repetitions(eventlog, type, level_of_analysis, raw = F)
The event log to be used. An object of class
eventlog
.
Type of repetitions, 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)