Learn R Programming

crskdiag (version 1.0.1)

dat1: Simulated competing risks data contains covariate with non-linear functional form

Description

Simulated data with 300 subjects and 4 variates: time, cause, z1 and z2.

Arguments

Format

The data has 300 rows and 4 columns.
time
a numeric vector of event or censoring times.
cause
a numeric vector code of survival status. 1: failure from the cause of interest; 2: failure from other causes; 0: censored.
z1
a numeric vector with continuous values.
z2
a numeric vector with continuous values.

Source

Simulated data