calculateTask1 {GroupSeq} | R Documentation |
This function computes bounds using input given by the gui
calculateTask1(n, t, t2, equallySpacedTimesInput, secondTimeScaleIsUsedInput, BoundsSymmetry, alpha, phi, usedFunction, TruncateBoundsInput)
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) |
This function is meant to be called in context of using groupseq
Roman Pahl
groupseq
, calculateTask2
calculateTask3
, calculateTask4
## function is called within gui - so example is senseless