| succession | R Documentation |
Check for succession between two activities.
succession checks the bi-directional execution order of activity_a and activity_b, i.e., both response
and precedence relations have to hold: every A has to be (eventually) followed by B, and there has to be
an A before every B. For example, the trace [A,C,A,B,B] satisfies the succession relation.
succession(activity_a, activity_b)
activity_a |
|
activity_b |
|
Other Ordering rules:
ends(),
precedence(),
responded_existence(),
response(),
starts()
library(bupaR)
library(eventdataR)
# Blood test should always happen before a MRI Scan,
# and both should happen when one of them happens.
patients %>%
check_rule(succession("Blood test","MRI SCAN"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.