x
A helper function passed to uniroot()
event_diff(x, enroll_rate, fail_rate, ratio, target_event)
A single numeric value that represents the difference between the
expected number of events for the provided duration (x
) and the targeted
number of events (target_event
)
Duration
An enroll_rate
data frame with or without stratum
created by define_enroll_rate()
.
A fail_rate
data frame with or without stratum
created by define_fail_rate()
.
Experimental:Control randomization ratio.
The targeted number of events to be achieved.