Usage
calculateTask1(n, t, t2, equallySpacedTimesInput, secondTimeScaleIsUsedInput, BoundsSymmetry, alpha, phi, usedFunction, TruncateBoundsInput)
Arguments
n
is the number of interim analyses
t
is the vector of analysis times on (0,1] scale
t2
is the second or information time scale, for covariances
equallySpacedTimesInput
variable denoting whether equally spaced times (equallySpacedTimes==TRUE) or different spaced (equallySpacedTimes==FALSE)
secondTimeScaleIsUsedInput
second time/information scale (yes=>secondTimeScaleIsUsed==TRUE, no=>secondTimeScaleIsUsed==FALSE)
BoundsSymmetry
BoundsSymmetry==1 means one-sided bounds, BoundsSymmetry==2 means two-sided symmetric and BoundsSymmetry==3 means asymmetric bounds
alpha
is the desired overall size.
phi
optional Parameter referring to Power Family
usedFunction
indicates type I error spending rate function e.g. the function(s) the user choosed
TruncateBoundsInput
is Truncation Point for bounds (default is no truncation)