Description Usage Arguments See Also Examples
Check if cases end with an activity.
1 | ends(activity)
|
activity |
The end activity. Character vector of length one. This should be an activity of the event log supplied to 'check_rule'. |
Other Declarative Rules: absent,
and, contains_between,
contains_exactly, contains,
precedence,
responded_existence,
response, starts,
succession, xor
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"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.