end_activities {edeaR} | R Documentation |
End activities
Description
Analyse the end activities in the process.
Usage
end_activities(
log,
level = c("log", "case", "activity", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'eventlog'
end_activities(
log,
level = c("log", "case", "activity", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'grouped_eventlog'
end_activities(
log,
level = c("log", "case", "activity", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'activitylog'
end_activities(
log,
level = c("log", "case", "activity", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'grouped_activitylog'
end_activities(
log,
level = c("log", "case", "activity", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
Arguments
log |
|
level |
|
append |
|
append_column |
The arguments |
sort |
|
eventlog |
Details
Argument level
has the following options:
At
log
level, this metric shows the absolute and relative number of activities that are the last activity in one or more of the cases.On
case
level, this metric provides an overview of the end activity of each case.On
activity
level, this metric calculates for each activity the absolute and relative number of cases that end with this activity type. Similar to thestart_activities
metric, the relative number is calculated as a portion of the number of cases, being the number of "opportunities" that an activity could be the end activity. The cumulative sum is added to have an insight in the number of activities that is required to cover a certain part of the total.At
resource
level, an overview of which resources execute the last activity per case is provided.On
resource-activity
level, this metric shows for each occurring resource-activity combination the absolute and relative number of times this resource executes this activity as an end activity in a case.
Methods (by class)
-
end_activities(eventlog)
: Computes the end activities for aneventlog
. -
end_activities(grouped_eventlog)
: Computes the end activities for agrouped_eventlog
. -
end_activities(activitylog)
: Computes the end activities for anactivitylog
. -
end_activities(grouped_activitylog)
: Computes the end activities for agrouped_activitylog
.
References
Swennen, M. (2018). Using Event Log Knowledge to Support Operational Exellence Techniques (Doctoral dissertation). Hasselt University.
See Also
Other metrics:
activity_frequency()
,
activity_presence()
,
idle_time()
,
number_of_repetitions()
,
number_of_selfloops()
,
number_of_traces()
,
processing_time()
,
resource_frequency()
,
resource_involvement()
,
resource_specialisation()
,
start_activities()
,
throughput_time()
,
trace_coverage()
,
trace_length()