Description Usage Arguments Details Methods (by class) References Examples
View source: R/activity_presence.R
Calculates for each activity type in what percentage of cases it is present.
1 2 3 4 5 6 7 8 9 | activity_presence(eventlog, append, append_column, sort, ...)
## S3 method for class 'eventlog'
activity_presence(eventlog, append = F,
append_column = "absolute", sort = TRUE, ...)
## S3 method for class 'grouped_eventlog'
activity_presence(eventlog, append = F,
append_column = "absolute", sort = TRUE, ...)
|
eventlog |
The dataset to be used. Should be a (grouped) eventlog object.
|
append |
Logical, indicating whether to append results to original event log. Ignored when level is log or trace. |
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. |
... |
Deprecated arguments |
An indication of variance can be the presence of the activities in the different cases. This metric shows for each activity the absolute number of cases in which each activity occurs together with its relative presence.
eventlog
: Compute activity presence for event log
grouped_eventlog
: Compute activity presence for grouped eventlog
Swennen, M. (2018). Using Event Log Knowledge to Support Operational Exellence Techniques (Doctoral dissertation). Hasselt University.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | ## Not run:
data <- data.frame(case = rep("A",5),
activity_id = c("A","B","C","D","E"),
activity_instance_id = 1:5,
lifecycle_id = rep("complete",5),
timestamp = 1:5,
resource = rep("resource 1", 5))
log <- bupaR::eventlog(data,case_id = "case",
activity_id = "activity_id",
activity_instance_id = "activity_instance_id",
lifecycle_id = "lifecycle_id",
timestamp = "timestamp",
resource_id = "resource")
activity_presence(log)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.