Learn R Programming

processcheckR (version 0.1.4)

ends: Ends

Description

Check if cases end with the specified activity.

Usage

ends(activity)

Arguments

activity

character: The end activity. This should be an activity of the log supplied to check_rule.

See Also

Other Ordering rules: precedence(), responded_existence(), response(), starts(), succession()

Examples

Run this code
library(bupaR)
library(eventdataR)

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

Run the code above in your browser using DataLab