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


Search within the CIFsmry package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.