responded_existence {processcheckR} | R Documentation |
Responded Existence
Description
Check for responded existence between two activities.
If activity_a
occurs in a case, activity_b
should also occur (before or after).
Usage
responded_existence(activity_a, activity_b)
Arguments
activity_a |
|
activity_b |
|
See Also
Other Ordering rules:
ends()
,
precedence()
,
response()
,
starts()
,
succession()
Examples
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"))
[Package processcheckR version 0.1.4 Index]