Define a condition to trigger trial milestone by the number of randomized patients. The milestone will be trigger when a trial has enrolled at least the specified number of patients. It can be used combined with conditions specified by calendarTime and eventNumber.
Arguments
- n
integer. Number of randomized patients.
- ...
subset conditions compatible with
dplyr::filter
. Number of randomized patients will be counted on subset of trial data only.- arms
vector of character. Name of arms on which the number of patients is counted. If
NULL
, use all arms that are not yet removed from the trial by the time of calculation.