powered by
This function generate the correlation matrix for group sequential trials with two endpoints.
corrMatGenerator(tp, ts, rhops)
the correlation matrix, Hp goes first, and Hs goes second.
an information fraction vector of Hp
an information fraction vector of Hs
a number that shows the correlation coefficient between the test statistics of the primary endpoint and that of the secondary endpoint
Jiangtao Gou
corrMatGenerator(tp=c(0.64,1), ts=c(0.25,0.49,1), rhops=1)
Run the code above in your browser using DataLab