Build Trial Triggers
trigger_primitives.RdCreate trigger specifications that can be passed to
Condition or composed with & and |.
Usage
value_trigger(col, op, rhs)
count_trigger(col, op, rhs)
enroll_trigger(fraction, sample_size)
calendar_trigger(cal_time)
# S3 method for class 'trigger'
e1 & e2
# S3 method for class 'trigger'
e1 | e2Arguments
- col
characterColumn name referenced by the trigger.- op
characterComparison operator. Must be one ofc(">=", "<=", ">", "<", "==", "!=", "%in%").- rhs
Right-hand side value. Must be atomic for
value_trigger()and numeric forcount_trigger().- fraction
numericSample fraction (0 < fraction <= 1).- sample_size
numericTarget sample size.- cal_time
numericCalendar time at or after which to trigger. Uses>=so it works with both stochastic (continuous) and deterministic (integer) schedules.- e1, e2
triggerobjects to combine.
See also
Condition, enroll_trigger(), calendar_trigger().