| response | R Documentation |
Check for response between two activities.
If activity_a is executed, it should be (eventually) followed by activity_b. The response relation is very relaxed,
because B does not have to be executed immediately after A, and multiple As can be executed between the first A
and the subsequent B. For example, the trace [B,A,A,A,C,B] satisfies the response relation.
response(activity_a, activity_b)
activity_a |
|
activity_b |
|
Other Ordering rules:
ends(),
precedence(),
responded_existence(),
starts(),
succession()
library(bupaR)
library(eventdataR)
# A blood test should eventually be followed by Discuss Results.
patients %>%
check_rule(response("Blood test","Discuss Results"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.