Analysis of trace lengths

trace_length(eventlog, level, append, ...)

# S3 method for eventlog
trace_length(eventlog, level = c("log", "trace", "case"),
append = F, ...)

# S3 method for grouped_eventlog
trace_length(eventlog, level = c("log", "trace",
"case"), append = F, ...)

## Arguments

eventlog The dataset to be used. Should be a (grouped) eventlog object. eventlog. Level of granularity for the analysis: log, case, activity, resource or resource-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. Deprecated arguments

## Details

This metric provides an overview of the number of activities that occur in each trace. In this metric, instances of an activity, as opposed to the actual activities, are calculated.

• On the level of the log, the number of actual transactions in a trace are calculated and aggregated on the log level.

• On the level of the cases, this metric calculates the number of activity instances in each case.

• This metric shows the number of activity instances executed in each trace. #'

## Methods (by class)

• eventlog: Trace length for eventlog

• grouped_eventlog: Trace length for grouped eventlog

## References

Swennen, M. (2018). Using Event Log Knowledge to Support Operational Exellence Techniques (Doctoral dissertation). Hasselt University.