sim.dat: Simulated competing risk data

Description Format Source Examples

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

CIFsmry documentation built on May 2, 2019, 9:43 a.m.

Related to sim.dat in CIFsmry...