Description Usage Arguments Value Examples

Create permGS object representing a permutational group-sequential trial.

1 2 3 4 |

`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) |

object of class permGS

1 2 3 4 5 6 | ```
## standard permutation test (no imputation, free permutations)
x <- createPermGS(1000, FALSE, "none")
summary(x)
## imputation using IPT method, restricted permutations
y <- createPermGS(1000, TRUE, "IPT")
summary(y)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.