ends {processcheckR}R Documentation

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

library(bupaR)
library(eventdataR)

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


[Package processcheckR version 0.1.4 Index]