immdef {rpsftm} | R Documentation |
immdef
Description
Simulated data to use with the rpsftm
function.
Usage
immdef
Format
A simulated data frame with 9 variables and 1000 observations representing a study where participants were randomly assigned to receive treatment immediately or deferred. Participants in the deferred arm could crossover and receive treatment. The primary endpoint was time to disease progression.
The data are based on a randomized controlled trial Concorde doi:10.1016/S0140-6736(94)90006-X
- id
participant ID number
- def
indicator that the participant was assigned to the Deferred treatment arm
- imm
indicator that the participant was assigned to the Immediate treatment arm
- censyrs
censoring time, in years, corresponding to the close of study minus the time of entry for each participant
- xo
an indicator that crossover occurred
- xoyrs
the time, in years, from entry to switching, or 0 for participants in the Immediate arm
- prog
an indicator of disease progression (1), or censoring (0)
- progyrs
time, in years, from entry to disease progression or censoring
- entry
the time of entry into the study, measured in years from the date of randomisation