powered by
Function detecting violations of dependencies between attributes (i.e. condition(s) that should hold when (an)other condition(s) hold(s))
detect_attribute_dependencies( activitylog, antecedent, consequent, details = TRUE, filter_condition = NULL, ... )
activitylog containing the rows of the original activity log for which the dependencies between attributes are violated
The activity log
(Vector of) condition(s) which serve as an antecedent (if the condition(s) in antecedent hold, then the condition(s) in consequent should also hold)
(Vector of) condition(s) which serve as a consequent (if the condition(s) in antecedent hold, then the condition(s) in consequent should also hold)
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
Named vectors with name of the activity, and value of the threshold.
# \donttest{ data("hospital_actlog") detect_attribute_dependencies(activitylog = hospital_actlog, antecedent = activity == "Registration", consequent = startsWith(originator,"Clerk")) # }
Run the code above in your browser using DataLab