number_of_selfloops: Metric: Number of selfloops in trace

Description Usage Arguments Details Methods (by class) References

View source: R/number_of_selfloops.R

Description

Provides information statistics on the number of selfloops.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
number_of_selfloops(eventlog, type, level, append, ...)

## S3 method for class 'eventlog'
number_of_selfloops(eventlog, type = c("all",
  "repeat", "redo"), level = c("log", "case", "activity", "resource",
  "resource-activity"), append = FALSE, append_column = NULL,
  sort = TRUE, ...)

## S3 method for class 'grouped_eventlog'
number_of_selfloops(eventlog, type = c("all",
  "repeat", "redo"), level = c("log", "case", "activity", "resource",
  "resource-activity"), append = FALSE, append_column = NULL,
  sort = TRUE, ...)

Arguments

eventlog

The dataset to be used. Should be a (grouped) eventlog object. eventlog.

type

The type of repetitions, either all, repeat or redo.

level

Level of granularity for the analysis: log, case, activity, resource or resource-activity. For more information, see vignette("metrics", "edeaR")

append

Logical, indicating whether to append results to original event log. Ignored when level is log or trace.

...

Deprecated arguments

append_column

Which of the output columns to append to log, if append = T. Default column depends on chosen level.

sort

Sort output on count. Defaults to TRUE. Only for levels with frequency count output.

Details

Activity instances of the same activity type that are executed more than once immediately after each other by the same resource are in a self-loop (length-1-loop). If an activity instance of the same activity type is executed 3 times after each other by the same resource, this is defined as a size 2 self-loop.

Two types of self-loops are defined, which are repeat self-loops and redo self-loops. Repeat self-loops are activity executions of the same activity type that are executed immediately following each other by the same resource. Redo self-loops are activity executions of the same activity type that are executed immediately following each other by a different resource. Repeat and redo repetitions are explained further on.

These metrics are presented on five different levels of analysis, which are the complete event log, cases, activities, resources and resource-activity combinations.

Methods (by class)

References

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


gertjanssenswillen/edeaR documentation built on July 22, 2019, 7:08 p.m.