x <- gsSurv(
k = 3, test.type = 4, alpha = 0.025, beta = 0.1, timing = c(0.45, 0.7),
sfu = sfHSD, sfupar = -4, sfl = sfLDOF, sflpar = 0,
lambdaC = 0.001, hr = 0.3, hr0 = 0.7, eta = 5e-04,
gamma = 10, R = 16, T = 24, minfup = 8, ratio = 3
)
counts <- toBinomialExact(x)$n.I
# \donttest{
repeatedPValueBinomialExact(gsD = x, n.I = counts, x = c(12, 23, 38))
# }
Run the code above in your browser using DataLab