Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

crskdiag (version 1.0.1)

dat2: Simulated competing risks data with time-varying covariate

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 the values of 0 and 1.
z2
a numeric vector with continuous values.

Source

Simulated data