This data set is a simulated survival data set, which is useful for code examples, particularly in the vignette. In addition to the failure times and a censoring variable, the data set also includes gender, treatment, and age as covariates. This treatment hazards are non-proportional, and there are periods of sparse observations and high rates of censoring, which is similar to studies with longer follow-up periods.
1 |
A data frame with 3000 observations on the following 5 variables:
timeA numeric vector containing the survival time from start of treatment to failure.
deltaA numeric vector of the censoring variable, which equals '1' if the failure is observed, and '0' otherwise.
genderA numeric binary vector, with 0 denoting males and 1 denoting females.
treatmentA numeric vector with three treatment groups. The treatment hazard rates were simulated under the non-proportional hazards assumption.
ageA numeric vector for age, with the measurements standardized.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.