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

check_rules

Check multiple declarative rules.


Description

This function can be used to check several rules on event data. It needs an event log and a rule. Rules can be made with the following functions: absent(), and(), contains(), contains_between(), contains_exactly(), ends(), precedence(), response(), responded_existence(), starts(), succession(), xor().

Usage

check_rules(eventlog, ...)

Arguments

eventlog

Eventlog object

...

Name-rule pairs.

Value

An annotated event log, where - for every rule - a new column indicates whether the rule holds or not. The name of each rule becomes the name of the column.

Examples

library(eventdataR)

# check whether MRI Scan is preceded by Blood test, and the case starts with Registration
check_rules(patients,
            rule1 = precedence("Blood test","MRI SCAN"),
            rule2 = starts("Registration"))

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.