detect_activity_frequency_violations {daqapo} | R Documentation |
Check activity frequencies
Description
Function that detects activity frequency anomalies per case
Usage
detect_activity_frequency_violations(
activitylog,
...,
details,
filter_condition
)
Arguments
activitylog |
The activity log |
... |
Named vectors with name of the activity, and value of the threshold. |
details |
Boolean indicating wheter details of the results need to be shown |
filter_condition |
Condition that is used to extract a subset of the activity log prior to the application of the function |
Value
tbl_df providing an overview of cases for which activities are executed too many times
Examples
data("hospital_actlog")
detect_activity_frequency_violations(activitylog = hospital_actlog,
"Registration" = 1, "Clinical exam" = 1)
[Package daqapo version 0.3.2 Index]