typeIerr is a function that computes the type I error rate of a GSD.
Usage
typeIerr(GSD)
Arguments
GSD
object of the classGSTobj or list with the following elements: K = number of stages, a = vector with futility boundaries (not supported yet), b = rejection boundaries, t = vector with information fractions; see example blow.
# NOT RUN {##The following calculates the type I error rate of a GSD.GSD <- list(K=4,a=rep(-8,4),b=c(4.333,2.963,2.359,2.014),
t=c(0.25,0.5,0.75,1),Imax=0.22)
typeIerr(GSD)
# }