Simulated data with 300 subjects and 4 variates: time, cause, z1 and z2.
The data has 300 rows and 4 columns.
a numeric vector of event or censoring times.
a numeric vector code of survival status. 1: failure from the cause of interest; 2: failure from other causes; 0: censored.
a numeric vector with continuous values.
a numeric vector with continuous values.
Simulated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.