Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

responded_existence

Check for responded existence between two activity


Description

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 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'.

See Also

Other Declarative Rules: absent(), and(), contains_between(), contains_exactly(), contains(), ends(), precedence(), response(), starts(), succession(), xor()

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"))

processcheckR

Rule-Based Conformance Checking of Business Process Event Data

v0.1.3
MIT + file LICENSE
Authors
Gert Janssenswillen [aut, cre]
Initial release
2020-06-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.