scrData: A simulated clustered semi-competing risks data set

Description Usage Format Examples

Description

Simulated semi-competing risks data

Usage

1

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

1

Example output

Loading required package: MASS
Loading required package: survival
Loading required package: Formula

SemiCompRisks documentation built on Feb. 3, 2021, 5:06 p.m.