powered by
Check if cases end with the specified activity.
ends(activity)
character: The end activity. This should be an activity of the log supplied to check_rule.
character
check_rule
Other Ordering rules: precedence(), responded_existence(), response(), starts(), succession()
precedence()
responded_existence()
response()
starts()
succession()
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