powered by
Function that detects activity frequency anomalies per case
detect_activity_frequency_violations( activitylog, ..., details, filter_condition )
tbl_df providing an overview of cases for which activities are executed too many times
The activity log
Named vectors with name of the activity, and value of the threshold.
Boolean indicating wheter details of the results need to be shown
Condition that is used to extract a subset of the activity log prior to the application of the function
# \donttest{ data("hospital_actlog") detect_activity_frequency_violations(activitylog = hospital_actlog, "Registration" = 1, "Clinical exam" = 1) # }
Run the code above in your browser using DataLab