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
log
: Object of classlog
or derivatives (grouped_log
,eventlog
,activitylog
, etc.).- level
character
(default"log"
): Level of granularity for the analysis:"log"
(default),"case"
,"activity"
,"resource"
, or"resource-activity"
. For more information, seevignette("metrics", "edeaR")
and 'Details' below.- append
logical
(defaultFALSE
) : The argumentsappend
andappend_column
have been deprecated in favour ofaugment
.
Indicating whether to append results to original log. Ignored when level is"log"
or"trace"
.- append_column
The arguments
append
andappend_column
have been deprecated in favour ofaugment
.
Which of the output columns to append to log, ifappend = TRUE
. Default column depends on chosen level.- sort
logical
(defaultTRUE
): Sort output on count. Only for levels with frequency count output.- 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()