Simulated time to event data, where there are two competing causes of failure. These data were generated to be used as an example data set along with the R package 'CompetingRisk'.
1 |
A data frame with 250 observations on the following 5 variables.
times
a numeric vector of min(time to event, censoring time) for each individual.
status1
vector of indicators specifying that event 1 was the cause of failure (equals 1 for individuals where event 1 occured)
status2
vector of indicators specifying that event 1 was the cause of failure (equals 1 for individuals where event 2 occured)
x
numeric vector of biomarker of interest
Z
vector of discrete covariate values. Here Z takes on values 0 or 1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.