Description Usage Arguments See Also Examples
View source: R/responded_existence.R
If activity A occurs in a case, activity B should also occur (before or after).
1 | responded_existence(activity_a, activity_b)
|
activity_a |
Activity A. A character vector of length one. This should be an activity of the event log supplied to 'check_rule'. |
activity_b |
Activity B. A character vector of length one. This should be an activity of the event log supplied to 'check_rule'. |
Other Declarative Rules: absent
,
and
, contains_between
,
contains_exactly
, contains
,
ends
, precedence
,
response
, starts
,
succession
, xor
1 2 3 4 5 6 7 8 9 | 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.