| xor | R Documentation |
Check for exclusiveness of two activities.
If activity_a exists, activity_b should not exist, and vice versa.
xor(activity_a, activity_b)
activity_a |
|
activity_b |
|
Other Exclusiveness rules:
and()
library(bupaR)
library(eventdataR)
# A patient should not receive both an X-Ray and MRI Scan.
patients %>%
check_rule(xor("X-Ray","MRI SCAN"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.