Basic class for trial designs.
Fields
kMaxThe maximum number of stages
K. Is a numeric vector of length 1 containing a whole number.alphaThe significance level alpha, default is 0.025. Is a numeric vector of length 1 containing a value between 0 and 1.
stagesThe stage numbers of the trial. Is a numeric vector of length
kMaxcontaining whole numbers.informationRatesThe information rates (that must be fixed prior to the trial), default is
(1:kMax) / kMax. Is a numeric vector of lengthkMaxcontaining values between 0 and 1.userAlphaSpendingThe user defined alpha spending. Contains the cumulative alpha-spending (type I error rate) up to each interim stage. Is a numeric vector of length
kMaxcontaining values between 0 and 1.criticalValuesThe critical values for each stage of the trial. Is a numeric vector of length
kMax.stageLevelsThe adjusted significance levels to reach significance in a group sequential design. Is a numeric vector of length
kMaxcontaining values between 0 and 1.alphaSpentThe cumulative alpha spent at each stage. Is a numeric vector of length
kMaxcontaining values between 0 and 1.bindingFutilityIf
TRUE, the calculation of the critical values is affected by the futility bounds and the futility threshold is binding in the sense that the study must be stopped if the futility condition was reached (default isFALSE) Is a logical vector of length 1.toleranceThe numerical tolerance, default is
1e-06. Is a numeric vector of length 1.
