powered by
sample synthetic dataset of snSMART (3 active treatment) with binary outcomes
data_binary
This data frame contains the following columns:
treatment received in stage 1 - possible values: 1 (placebo), 2, 3
whether patients respond to stage 1 treatment - possible values: 0 (nonresponder), 1 (responder)
treatment received in stage 2 - possible values: 2, 3
whether patients respond to stage 2 treatment - possible values: 0 (nonresponder), 1 (responder)
mydata <- data_binary LPJSM_result <- LPJSM_binary(data = mydata, six = TRUE, DTR = TRUE)
Run the code above in your browser using DataLab