Calculates for each resource or resource-activity combination in what percentage of cases it is present.
Next to the resource_frequency
, the involvement of resources in cases can be of interest to, e.g.,
decide how "indispensable" they are. This metric is provided on three levels of analysis, which are the cases,
the resources, and the resource-activity combinations.
Usage
resource_involvement(
log,
level = c("case", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
# S3 method for class 'log'
resource_involvement(
log,
level = c("case", "resource", "resource-activity"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
# S3 method for class 'grouped_log'
resource_involvement(
log,
level = c("case", "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"case"
): Level of granularity for the analysis:"case"
(default),"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:
On
"case"
level, the absolute and relative number of distinct resources executing activities in each case is calculated, to get an overview of which cases are handled by a small amount of resources and which cases need more resources, indicating a higher level of variance in the process.On
"resource"
level, this metric provides the absolute and relative number of cases in which each resource is involved, indicating which resources are more "necessary" within the process than the others.On
"resource-activity"
level, this metric provides a list of all resource-activity combinations with the absolute and relative number of cases in which each resource-activity combination is involved.
Methods (by class)
resource_involvement(log)
: Computes the resource involvement for alog
.resource_involvement(grouped_log)
: Computes the resource involvement for agrouped_log
.
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()
,
end_activities()
,
idle_time()
,
number_of_repetitions()
,
number_of_selfloops()
,
number_of_traces()
,
processing_time()
,
resource_frequency()
,
resource_specialisation()
,
start_activities()
,
throughput_time()
,
trace_coverage()
,
trace_length()