Function detecting violations of conditional activity presence (i.e. an activity/activities that should be present when (a) particular condition(s) hold(s))
Numeric vector containing the case identifiers of cases for which the specified conditional activity presence is violated
Arguments
activitylog
The activity log
condition
Condition which serve as an antecedent (if the condition in condition holds, then the activit(y)(ies) in activities should be present.)
activities
Vector of activity/activities which serve as a consequent (if the condition(s) in condition_vector hold, then the activity/activities in activity_vector should be recorded)
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