| succession {processcheckR} | R Documentation |
Succession
Description
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.
Usage
succession(activity_a, activity_b)
Arguments
activity_a |
|
activity_b |
|
See Also
Other Ordering rules:
ends(),
precedence(),
responded_existence(),
response(),
starts()
Examples
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"))
[Package processcheckR version 0.1.4 Index]