groupseqDATA_full {snSMART}R Documentation

Group sequential full data

Description

sample dataset of group sequential trial design snSMART, can be used for final analysis

Usage

groupseqDATA_full

Format

This data frame contains the following columns:

time.1st.trt

first treatment time

time.1st.resp

first response time

time.2nd.trt

second treatment time

time.2nd.resp

second response time

trt.1st

treatment arm for first treatment

resp.1st

response for first treatment

trt.2nd

treatment arm for second treatment

resp.2nd

response for second treatment

Examples

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
)

[Package snSMART version 0.2.3 Index]