Check for response between two activities
If activity A is executed, it should be eventually followed by activity B.
response(activity_a, activity_b)
activity_a |
Activity A. A character vector of length one. This should be an activity of the event log supplied to 'check_rule'. |
activity_b |
Activity B. A character vector of length one. This should be an activity of the event log supplied to 'check_rule'. |
Other Declarative Rules:
absent()
,
and()
,
contains_between()
,
contains_exactly()
,
contains()
,
ends()
,
precedence()
,
responded_existence()
,
starts()
,
succession()
,
xor()
library(bupaR) library(eventdataR) # A blood test should eventually be followed by Discuss Results patients %>% check_rule(response("Blood test","Discuss Results"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.