as.GST {AGSDest}R Documentation

as Group Sequential Trial

Description

Function as.GST builds a group sequential trial object

Usage

as.GST(GSD,GSDo)

Arguments

GSD object of the class GSTobj; group sequential design
GSDo 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)

Value

as.GST returns a list containing the GSD and GSDo with class=GSTobj

Author(s)

Niklas Hack niklas.hack@meduniwien.ac.at and Werner Brannath werner.brannath@meduniwien.ac.at

See Also

GSTobj

Examples


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

[Package AGSDest version 1.0 Index]