starts: Check if cases start with an activity

Description Usage Arguments See Also Examples

View source: R/starts.R

Description

Check if cases start with an activity

Usage

1
starts(activity)

Arguments

activity

The start activity. 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, responded_existence, response, succession, xor

Examples

1
2
3
4
5
6
library(bupaR)
library(eventdataR)

# Each patients should first be registered.
patients %>%
check_rule(starts("Registration"))

gertjanssenswillen/processcheckR documentation built on July 31, 2019, 9:34 a.m.