View source: R/responded_existence.R
responded_existence | R Documentation |
Check for responded existence between two activities.
If activity_a
occurs in a case, activity_b
should also occur (before or after).
responded_existence(activity_a, activity_b)
activity_a |
|
activity_b |
|
Other Ordering rules:
ends()
,
precedence()
,
response()
,
starts()
,
succession()
library(bupaR) library(eventdataR) # When a Blood test occurs, a MRI Scan should also have # happened for this patient (before or after the test). patients %>% check_rule(responded_existence("Blood test","MRI SCAN"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.