ends: Ends

View source: R/ends.R

endsR 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"))


processcheckR documentation built on Oct. 3, 2022, 5:05 p.m.