Simulated competing risk data

Share:

Description

Simulated data with 100 subjects and 3 variates: time, cause and group.

Format

The data has 100 rows and 3 columns.

time

a numeric vector. Survival time.

cause

a numeric vector code. Survival status. 1: failure from the cause of interest; 2: failure from other causes; 0: censored.

group

a numeric vector code. 1: group 1; 2: group 2.

Source

Simulated data

Examples

1
2
3
4
5