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

and

Check for co-existence of two activities


Description

The'and' rule checks whether two activities both occur in a case (or are both absent). If activity A exists, Activity B should also exist, and vice versa.

Usage

and(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

Examples

library(bupaR)
library(eventdataR)

# Check that if a patients is registered, he's also checked-out, and vice versa.
patients %>%
check_rule(and("Registration","Check-out"))

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.