activity_frequency {edeaR} | R Documentation |
Activity Frequency
Description
Provides summary statistics about the frequency of activity types at the level of log, traces, cases, activity types.
Usage
activity_frequency(
log,
level = c("log", "trace", "activity", "case"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'eventlog'
activity_frequency(
log,
level = c("log", "trace", "activity", "case"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'grouped_eventlog'
activity_frequency(
log,
level = c("log", "trace", "activity", "case"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'activitylog'
activity_frequency(
log,
level = c("log", "trace", "activity", "case"),
append = deprecated(),
append_column = NULL,
sort = TRUE,
eventlog = deprecated()
)
## S3 method for class 'grouped_activitylog'
activity_frequency(
log,
level = c("log", "trace", "activity", "case"),
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 summary statistics of the frequency of activities throughout the complete log.On
case
level, this metric shows the absolute and relative number of times the different activity types occur in each case. The absolute number shows the number of distinct activity types that occur in each of the cases. The relative number is calculated based on the total activity executions in the case.On
trace
level, this metric presents the absolute and relative number of times a specific activity type occurs in each trace.On
activity
level, this metric provides the absolute and relative frequency of a specific activity in the complete log.
Methods (by class)
-
activity_frequency(eventlog)
: Computes the activity frequency for aneventlog
. -
activity_frequency(grouped_eventlog)
: Computes the activity frequency for agrouped_eventlog
. -
activity_frequency(activitylog)
: Computes the activity frequency for anactivitylog
. -
activity_frequency(grouped_activitylog)
: Computes the activity frequency 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_presence()
,
end_activities()
,
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()