Basic class for trial designs.
Fields
kMaxThe maximum number of stages
K. Is a single numeric value representing a whole number.alphaThe significance level alpha, default is 0.025. Is a single numeric 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 single logical value.toleranceThe numerical tolerance, default is
1e-06. Is a single numeric value.
