powered by
Function as.GST builds a group sequential trial object
as.GST
as.GST(GSD, GSDo)
object of the class GSTobj; group sequential design
class
GSTobj
group sequential design outcome; a list with the variables T and z; list(T = stage where trial stops, z = z-statistic at stage where trial stops)
T
z
Returns a list containing the GSD and GSDo with class=GSTobj
GSD
GSDo
# NOT RUN { GSD <- plan.GST(K=4,SF=1,phi=0,alpha=0.025,delta=6,pow=0.8,compute.alab=TRUE,compute.als=TRUE) GSDo <- list(T=2, z=3.1) GST <- as.GST(GSD=GSD,GSDo=GSDo) GST # }
Run the code above in your browser using DataLab