data_binary: Dataset with binary outcomes

data_binaryR Documentation

Dataset with binary outcomes

Description

sample synthetic 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)


sidiwang/snSMART documentation built on Oct. 8, 2024, 9:31 p.m.