groupseqDATA_full | R Documentation |
sample dataset of group sequential trial design snSMART, can be used for final analysis
groupseqDATA_full
This data frame contains the following columns:
first treatment time
first response time
second treatment time
second response time
treatment arm for first treatment
response for first treatment
treatment arm for second treatment
response for second treatment
mydata <- groupseqDATA_full
result2 <- group_seq(
data = mydata, interim = FALSE, prior_dist = c(
"beta", "beta", "pareto"
), pi_prior = c(0.4, 1.6, 0.4, 1.6, 0.4, 1.6),
beta_prior = c(1.6, 0.4, 3, 1), MCMC_SAMPLE = 6000, n.adapt = 1000,
n_MCMC_chain = 1, ci = 0.95, DTR = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.