Provides summary statistics about the frequency of activity types at the level of log, traces, cases, activity types.
activity_frequency(eventlog, level, append, append_column, ...)# S3 method for eventlog
activity_frequency(eventlog, level = c("log", "trace",
"activity", "case"), append = F, append_column = NULL, sort = TRUE,
...)
# S3 method for grouped_eventlog
activity_frequency(eventlog, level = c("log",
"trace", "activity", "case"), append = F, append_column = NULL,
sort = TRUE, ...)
The dataset to be used. Should be a (grouped) eventlog object.
eventlog
.
Level of granularity for the analysis: log, trace, case, activity. For more information, see vignette("metrics", "edeaR")
Logical, indicating whether to append results to original event log. Ignored when level is log or trace.
Which of the output columns to append to log, if append = T. Default column depends on chosen level.
Deprecated arguments
Sort output on count. Defaults to TRUE. Only for levels with frequency count output.
eventlog
: Compute activity frequency for eventlog
grouped_eventlog
: Compute activity frequency for grouped event log
At log level, This metric shows the summary statistics of the frequency of activities throughout the complete event log.
On the level of the cases, this metric showsthe absolute and relative number of times the different activity types occur in each case. The absolute number shows the number of distinct activity types that occur in each of the cases. The relative number is calculated based on the total activity executions in the case.
On trace level, this metric presents the absolute and relative number of times a specific activity type occurs in each trace.
On the level of the activities, this metric provides the absolute and relative frequency of a specific activity in the complete event log.
Swennen, M. (2018). Using Event Log Knowledge to Support Operational Exellence Techniques (Doctoral dissertation). Hasselt University.