Create permGS object representing a permutational group-sequential trial.
createPermGS(B =1000, restricted =TRUE, method ="IPZ", pool =TRUE, type = c("logrank","Gehan-Breslow","Tarone-Ware","Prentice","Prentice-Marek","Andersen-Borgan-Gill-Keiding","Fleming-Harrington","Self"), imputeData =NULL, permuteData =NULL)
Arguments
B: number of random permutations
restricted: if TRUE only permute within strata
method: imputation/permuation method IPZ, IPT, Heinze or none (default: IPZ)
pool: if TRUE impute event times from Kaplan-Meier estimator calculated from pooled data
type: logrank weights to be used with coin::logrank_trafo
imputeData: user-supplied imputation function (ignored if method is given)
permuteData: user-supplied permutation function (ignore if method is given)
Returns
object of class permGS
Examples
## standard permutation test (no imputation, free permutations)x <- createPermGS(1000,FALSE,"none")summary(x)## imputation using IPT method, restricted permutationsy <- createPermGS(1000,TRUE,"IPT")summary(y)