number_of_repetitions: Metric: Number of repetitions

Description Usage Arguments Details Methods (by class) References

View source: R/number_of_repetitions.R

Description

Provides information statistics on the number of repetitions

Usage

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

## S3 method for class 'eventlog'
number_of_repetitions(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_repetitions(eventlog,
  type = c("repeat", "redo"), level = c("log", "case", "activity",
  "resource", "resource-activity"), append = F, 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 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

A repetition is an execution of an activity within a case while that activity has already been executed before, but one or more other activities are executed in between.Similar to the self-loop metric, a distinction should be made between repeat and redo repetitions. Repeat repetitions are activity executions of the same activity type that are executed not immediately following each other, but by the same resource. Redo repetitions are activity executions of the same activity type that are executed not immediately following each other and by a different resource than the first activity occurrence of this activity type.

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.