Learn R Programming

SemiCompRisks (version 2.4)

scrData: A simulated clustered semi-competing risks data set

Description

Simulated semi-competing risks data

Usage

data(scrData)

Arguments

Format

a data frame with 2000 observations on the following 14 variables.
time1
the time to non-terminal event
event1
the censoring indicators for the non-terminal event time; 1=event observed, 0=censored/truncated
time2
the time to terminal event
event2
the censoring indicators for the terminal event time; 1=event observed, 0=censored
cluster
cluster numbers
x1
a vector of continuous covarate
x2
a vector of continuous covarate
x3
a vector of continuous covarate

Examples

Run this code
data(scrData)

Run the code above in your browser using DataLab