response {processcheckR}R Documentation

Response

Description

Check for response between two activities.

If activity_a is executed, it should be (eventually) followed by activity_b. The response relation is very relaxed, because B does not have to be executed immediately after A, and multiple As can be executed between the first A and the subsequent B. For example, the trace ⁠[B,A,A,A,C,B]⁠ satisfies the response relation.

Usage

response(activity_a, activity_b)

Arguments

activity_a

character: Activity A. This should be an activity of the log supplied to check_rule.

activity_b

character: Activity B. This should be an activity of the log supplied to check_rule.

See Also

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

Examples

library(bupaR)
library(eventdataR)

# A blood test should eventually be followed by Discuss Results.
patients %>%
 check_rule(response("Blood test","Discuss Results"))


[Package processcheckR version 0.1.4 Index]