calculateTask1 {GroupSeq}R Documentation

computes bounds using input given by the gui

Description

This function computes bounds using input given by the gui

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)

Note

This function is meant to be called in context of using groupseq

Author(s)

Roman Pahl

See Also

groupseq, calculateTask2 calculateTask3, calculateTask4

Examples

## function is called within gui - so example is senseless

[Package GroupSeq version 1.0 Index]