opchars.surv {stoppingrule} | R Documentation |
Operating Characteristics Function (Survival Data)
Description
Internal workhorse function to calculate operating characteristics for a given stopping rule and toxicity probability
Usage
opchars.surv(rule, p, MC, A, s = 1)
Arguments
rule |
A |
p |
The toxicity probability |
MC |
Number of Monte Carlo replicates to simulate for estimating operating characteristics. If |
A |
Length of the enrollment period. Only required if |
s |
Shape parameter for the Weibull distribution used to simulate event times. Only required if |
Value
A list containing the rejection probability p
, and the corresponding
rejection probability and number of events. If MC
is not NULL, the expected
number of enrolled patients and total follow up time are also included.