LRdata: LR data set

Description Usage Format Source References Examples

Description

This data set was generates from sequentially randomized clinical trials as described in the simulation study of Kidwell and Wahed (2013). It contains the following variables: "X" is the first-stage indicator, X=0 if assigned to A1, and X=1 if assigned to A2; "TR" is the time to response for responders (R=1); "R" is the response status, R=1 for responders, and R=0 for non-responders; "Z" is the second-stage indicator among responders (R=1), Z=0 if assigned to B1, and Z=1 if assigned to B2; "U" is the observed survival time, U is death time if delta=1, and U is censoring time if delta=0; and "delta" is the censoring indicator, delta=1 for event, and delta=0 for censored.

Usage

1

Format

A data frame with rows corresponding to patients.

Source

Generated by Xinyu Tang in R

References

Kidwell KM, Wahed AS: Weighted log-rank statistic to compare shared-path. adaptive treatment strategies. Biostatistics. 14(2):299-312, 2013

Examples

1
2
3
4
## Not run: 
data("LRdata")

## End(Not run)

DTR documentation built on May 2, 2019, 3:26 p.m.