Check for precedence between two activities.
activity_b occured, it should be preceded by
activity_a in the same case, i.e., if
B was executed, it could not
have been executed before
A was executed. For example, the trace
[A,C,B,B,A] satisfies the
Other Ordering rules:
library(bupaR) library(eventdataR) # A MRI Scan should be preceeded by a Blood test. patients %>% check_rule(precedence("Blood test","MRI SCAN"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.