Description Usage Arguments Value Author(s) Examples

This function generate the correlation matrix for group sequential trials with two endpoints.

1 | ```
corrMatGenerator(tp, ts, rhops)
``` |

`tp` |
an information fraction vector of Hp |

`ts` |
an information fraction vector of Hs |

`rhops` |
a number that shows the correlation coefficient between the test statistics of the primary endpoint and that of the secondary endpoint |

the correlation matrix, Hp goes first, and Hs goes second.

Jiangtao Gou

1 2 3 | ```
corrMatGenerator(tp=c(0.64,1),
ts=c(0.25,0.49,1),
rhops=1)
``` |

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.