throughput_time {edeaR} | R Documentation |
Throughput Time of Cases
Description
Provides summary statistics concerning the throughput times of cases.
Usage
throughput_time(
log,
level = c("log", "trace", "case", "activity", "activity-instance"),
append = deprecated(),
append_column = NULL,
units = c("auto", "secs", "mins", "hours", "days", "weeks"),
sort = TRUE,
work_schedule = NULL,
eventlog = deprecated()
)
## S3 method for class 'eventlog'
throughput_time(
log,
level = c("log", "trace", "case", "activity", "activity-instance"),
append = deprecated(),
append_column = NULL,
units = c("auto", "secs", "mins", "hours", "days", "weeks"),
sort = TRUE,
work_schedule = NULL,
eventlog = deprecated()
)
## S3 method for class 'grouped_eventlog'
throughput_time(
log,
level = c("log", "trace", "case", "activity", "activity-instance"),
append = deprecated(),
append_column = NULL,
units = c("auto", "secs", "mins", "hours", "days", "weeks"),
sort = TRUE,
work_schedule = NULL,
eventlog = deprecated()
)
## S3 method for class 'activitylog'
throughput_time(
log,
level = c("log", "trace", "case", "activity", "activity-instance"),
append = deprecated(),
append_column = NULL,
units = c("auto", "secs", "mins", "hours", "days", "weeks"),
sort = TRUE,
work_schedule = NULL,
eventlog = deprecated()
)
## S3 method for class 'grouped_activitylog'
throughput_time(
log,
level = c("log", "trace", "case", "activity", "activity-instance"),
append = deprecated(),
append_column = NULL,
units = c("auto", "secs", "mins", "hours", "days", "weeks"),
sort = TRUE,
work_schedule = NULL,
eventlog = deprecated()
)
Arguments
log |
|
level |
|
append |
|
append_column |
|
units |
|
sort |
|
work_schedule |
A schedule of working hours. If provided, only working hours are counted as processing time. |
eventlog |
Details
Argument level
has the following options:
At
"log"
level, the summary statistics describing the throughput time of cases in an aggregated fashion.On
"trace"
level, the throughput time of the different process variants or traces in the log are calculated.On
"case"
level, the throughput time is defined as the total duration of the case, or the difference between the timestamp of the end event and the timestamp of the start event of the case. Possibleidle_time()
is also included in this calculation.On
"activity-instance"
level, the throughput time of each activity instance. Throughput here is defined as the difference between the first and last event, without considering the lifecycle status. For the lifecycle-aware throughput time (e.g. not incorporating the time the activity is "suspended"), see processing time.on
'activity
level, summary statistics describing the throuhgput time of activity instances (see above) per activity type. For other levels (e.g."activity"
,"resource"
, or"resource-activity"
), the throughput time is equal to theprocessing_time()
and are, therefore, not supported by this method.
Methods (by class)
-
throughput_time(eventlog)
: Computes throughput time for aneventlog
. -
throughput_time(grouped_eventlog)
: Computes throughput time for agrouped_eventlog
. -
throughput_time(activitylog)
: Computes throughput time for anactivitylog
. -
throughput_time(grouped_activitylog)
: Computes throughput time for agrouped_activitylog
.
References
Swennen, M. (2018). Using Event Log Knowledge to Support Operational Exellence Techniques (Doctoral dissertation). Hasselt University.
See Also
idle_time()
,processing_time()
,difftime()
Other metrics:
activity_frequency()
,
activity_presence()
,
end_activities()
,
idle_time()
,
number_of_repetitions()
,
number_of_selfloops()
,
number_of_traces()
,
processing_time()
,
resource_frequency()
,
resource_involvement()
,
resource_specialisation()
,
start_activities()
,
trace_coverage()
,
trace_length()