data_binary {snSMART}R Documentation

Dataset with binary outcomes

Description

sample dataset of snSMART (3 active treatment) with binary outcomes

Usage

data_binary

Format

This data frame contains the following columns:

treatment_stageI

treatment received in stage 1 - possible values: 1 (placebo), 2, 3

response_stageI

whether patients respond to stage 1 treatment - possible values: 0 (nonresponder), 1 (responder)

treatment_stageII

treatment received in stage 2 - possible values: 2, 3

response_stageII

whether patients respond to stage 2 treatment - possible values: 0 (nonresponder), 1 (responder)

Examples

mydata <- data_binary
LPJSM_result <- LPJSM_binary(data = mydata, six = TRUE, DTR = TRUE)


[Package snSMART version 0.2.3 Index]