ends: Check if cases end with an activity.

Description Usage Arguments See Also Examples

View source: R/ends.R

Description

Check if cases end with an activity.

Usage

1
ends(activity)

Arguments

activity

The end 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, precedence, responded_existence, response, starts, succession, xor

Examples

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


# A patient's last activity should be the Check-out
patients %>%
check_rule(ends("Check-out"))

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