Learn R Programming

snSMART (version 0.2.4)

data_binary: Dataset with binary outcomes

Description

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

Usage

data_binary

Arguments

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

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

Run the code above in your browser using DataLab