surdata | R Documentation |
A simulated dataset to test functions for imputation compatible with cox model.
data(cldata)
A data frame with 500 observations on the following 5 variables.
measure
A numeric variable with some measure of interest (unspecified). This is partially observed.
sex
A binary variable with gender indicator. Partially observed.
id
The id for individuals within each city.
time
Time to event (death or censoring).
status
Binary variables, which takes value 0 for censored observations and 1 for deaths/events.
These are not real data, they are simulated to illustrate the use of the main functions of the package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.